Commit 48532b7c authored by Daniel Sonck's avatar Daniel Sonck
Browse files

Merge pull request #47 in THFM/fm.touhou.touhoufm from devel/dsonck to development

* commit 'b9878ca4':
  [THFMA-31] Do not always think last version was 41
parents ea71d06b b9878ca4
...@@ -94,7 +94,7 @@ class MainActivity : AppCompatActivity() { ...@@ -94,7 +94,7 @@ class MainActivity : AppCompatActivity() {
setupNavigationMenu(navController) setupNavigationMenu(navController)
val appVersion = BuildConfig.VERSION_CODE val appVersion = BuildConfig.VERSION_CODE
val lastVersion = 42//prefs.getInt("LatestVersion", 0) val lastVersion = prefs.getInt("LatestVersion", 0)
val lastKnownVersion = prefs.getInt("LatestReleaseVersion", 0) val lastKnownVersion = prefs.getInt("LatestReleaseVersion", 0)
val jsonRequest = JsonObjectRequest("https://www.touhou.fm/app-release.json", null, val jsonRequest = JsonObjectRequest("https://www.touhou.fm/app-release.json", null,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment