Skip to content

Commit

Permalink
#317: beta now opens dialog on app open about servers being down
Browse files Browse the repository at this point in the history
  • Loading branch information
epicstar committed May 24, 2017
1 parent 3253b0f commit 3293002
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android {
applicationId "rectangledbmi.com.pittsburghrealtimetracker"
minSdkVersion versions.android.minSdk
targetSdkVersion versions.android.targetSdk
versionCode 80
versionCode 81
versionName "8.0.0b3"
}
lintOptions {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
import rectangledbmi.com.pittsburghrealtimetracker.selection.Route;
import rectangledbmi.com.pittsburghrealtimetracker.ui.selection.ClearSelection;
import rectangledbmi.com.pittsburghrealtimetracker.ui.selection.SelectionFragment;
import rectangledbmi.com.pittsburghrealtimetracker.ui.serverdown.ServerDownDialogFragment;
import rectangledbmi.com.pittsburghrealtimetracker.vehicles.VehicleBitmap;

import retrofit2.HttpException;
Expand Down Expand Up @@ -287,6 +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));
Timber.d("resuming map fragment");
if (mapView != null) {
mapView.onResume();
Expand Down

0 comments on commit 3293002

Please sign in to comment.