diff --git a/src/com/uncc/gameday/activities/Registration.java b/src/com/uncc/gameday/activities/Registration.java index 4f8c536..2d6e629 100644 --- a/src/com/uncc/gameday/activities/Registration.java +++ b/src/com/uncc/gameday/activities/Registration.java @@ -120,7 +120,11 @@ public class Registration extends MenuActivity { RegistrationClient client = new RegistrationClient(c); client.registerAttendee(a); } 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("Registration", e.getLocalizedMessage()); } }