Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TouHou.FM
Client
fm.touhou.touhoufm
Commits
b9878ca4
Commit
b9878ca4
authored
Oct 14, 2019
by
Daniel Sonck
Browse files
[THFMA-31] Do not always think last version was 41
parent
ad82d490
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/fm/touhou/touhoufm/ui/MainActivity.kt
View file @
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
,
...
...
Daniel Sonck
@dsonck
mentioned in commit
48532b7c
·
Sep 13, 2020
mentioned in commit
48532b7c
mentioned in commit 48532b7ccb31f4d1ff23e1a7d62432eb4364ce31
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment