Skip to content

Commit

Permalink
move no buses page to 3 dot menu, change to actual semver for beta
Browse files Browse the repository at this point in the history
  • Loading branch information
epicstar committed May 24, 2017
1 parent 3499e72 commit 66ab12b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ android {
applicationId "rectangledbmi.com.pittsburghrealtimetracker"
minSdkVersion versions.android.minSdk
targetSdkVersion versions.android.targetSdk
versionCode 81
versionName "8.0.0b3"
versionCode 160080001
versionName "8.0.1-beta"
}
lintOptions {
warning 'InvalidPackage'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -463,4 +463,13 @@ public void restoreSelection() {
mNavigationDrawerFragment.reselectRoutes();
}

private void openNoBusesPage() {
Uri url = Uri.parse("https://github.com/rectangle-dbmi/Realtime-Port-Authority/wiki/Port-Authority-Server-Downtimes");
Intent internetBrowser = new Intent(Intent.ACTION_VIEW, url);
startActivity(internetBrowser);
}

public void onClickNoBuses(MenuItem item) {
openNoBusesPage();
}
}
2 changes: 1 addition & 1 deletion app/src/main/res/menu/select_transit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
appcompat:showAsAction="never" />
<item android:id="@+id/no_buses"
android:title="@string/servers_down_title"
android:orderInCategory="500"
android:orderInCategory="700"
appcompat:showAsAction="never"
android:onClick="onClickNoBuses"/>

Expand Down

0 comments on commit 66ab12b

Please sign in to comment.