Skip to content

Commit

Permalink
Update stations database, prepare new release 1.3.3 (57)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bertware committed Sep 24, 2022
1 parent 5cce062 commit b708c5a
Show file tree
Hide file tree
Showing 6 changed files with 623 additions and 619 deletions.
6 changes: 3 additions & 3 deletions Hyperrail/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'

def VERSION_CODE = 56
def VERSION_NAME = '1.3.2'
def VERSION_CODE = 57
def VERSION_NAME = '1.3.3'

android {
compileSdk 33
buildToolsVersion '30.0.3'
buildToolsVersion '33.0.0'
defaultConfig {
applicationId "be.hyperrail.android"
minSdkVersion 21
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,9 @@ public void onChanged() {

SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this.getActivity());

//noinspection ConstantConditions
mNumberOfNearbyStations = Integer.valueOf(preferences.getString(PREF_STATIONS_NEARBY_COUNT, "3"));
mNumberOfNearbyStations = Integer.parseInt(preferences.getString(PREF_STATIONS_NEARBY_COUNT, "3"));

//noinspection ConstantConditions
int order = Integer.valueOf(preferences.getString(PREF_STATIONS_ORDER, "0"));
int order = Integer.parseInt(preferences.getString(PREF_STATIONS_ORDER, "0"));
// 0 || 1: suggestions before nearby
// 2 || 3: nearby before suggestions
mNearbyOnTop = (order == 2 || order == 3);
Expand Down
2 changes: 1 addition & 1 deletion Hyperrail/src/main/res/values-nl/strings.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">HyperRail</string>
<string name="powered_by_irail_be">Powered by irail.be</string>
<string name="powered_by_irail_be">Mogenlijk dankzij irail.be</string>

<string name="title_disturbances">Storingen</string>
<string name="title_liveboard">Vertrekken</string>
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.2'
classpath 'com.google.gms:google-services:4.3.13'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.1'
classpath 'com.google.gms:google-services:4.3.14'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.2'
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class IrailStopsDatabase extends SQLiteOpenHelper {
private final Resources mResources;

IrailStopsDatabase(Context context) {
super(context, "irail-stations.db", null, 2021110700);
super(context, "irail-stations.db", null, 2022050200);
this.mResources = context.getResources();
}

Expand Down
Loading

0 comments on commit b708c5a

Please sign in to comment.