Skip to content

Commit

Permalink
Merge branch 'master' into default
Browse files Browse the repository at this point in the history
# Conflicts:
#	app/build.gradle
#	app/src/main/java/rectangledbmi/com/pittsburghrealtimetracker/ui/MainActivity.java
  • Loading branch information
epicstar committed May 24, 2017
2 parents 5cbd559 + 7bdcce5 commit 3499e72
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container,
@Override
public void onResume() {
super.onResume();
ServerDownDialogFragment.newInstance().show(getFragmentManager(), getString(R.string.servers_down_title));
// ServerDownDialogFragment.newInstance().show(getFragmentManager(), getString(R.string.servers_down_title));
Timber.d("resuming map fragment");
if (mapView != null) {
mapView.onResume();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

public class ServerDownDialogFragment extends AppCompatDialogFragment {

@SuppressWarnings("unused")
public static ServerDownDialogFragment newInstance() {
return new ServerDownDialogFragment();
}
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/res/menu/select_transit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,10 @@
android:title="@string/action_about"
android:orderInCategory="600"
appcompat:showAsAction="never" />
<item android:id="@+id/no_buses"
android:title="@string/servers_down_title"
android:orderInCategory="500"
appcompat:showAsAction="never"
android:onClick="onClickNoBuses"/>

</menu>

0 comments on commit 3499e72

Please sign in to comment.