mirror of
				https://github.com/bspeice/UNCCGameDay
				synced 2025-11-03 18:00:43 -05:00 
			
		
		
		
	Display the Toast message for internet down correctly
This commit is contained in:
		@ -47,8 +47,13 @@ public class Search extends MenuActivity {
 | 
			
		||||
				rsvpList = client.listAttendees();
 | 
			
		||||
				listFetched = true;
 | 
			
		||||
			} catch (RetrofitError e) {
 | 
			
		||||
				Toast.makeText(c, R.string.internet_down_error,
 | 
			
		||||
						Toast.LENGTH_SHORT).show();
 | 
			
		||||
				runOnUiThread(new Thread(){
 | 
			
		||||
					public void run(){
 | 
			
		||||
						Toast.makeText(c, R.string.internet_down_error,
 | 
			
		||||
								Toast.LENGTH_SHORT).show();
 | 
			
		||||
					}
 | 
			
		||||
				});
 | 
			
		||||
				
 | 
			
		||||
				Log.e("Search", e.getMessage());
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user