mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
mini fix
This commit is contained in:
parent
04f52f4a6d
commit
c946115900
1 changed files with 1 additions and 1 deletions
|
@ -764,7 +764,7 @@ class MainActivity : AppCompatActivity(), ColorPickerDialogListener {
|
||||||
// backup when we update the app, I don't trust myself to not boot lock users, might want to make this a setting?
|
// backup when we update the app, I don't trust myself to not boot lock users, might want to make this a setting?
|
||||||
try {
|
try {
|
||||||
val appVer = BuildConfig.VERSION_NAME
|
val appVer = BuildConfig.VERSION_NAME
|
||||||
val lastAppAutoBackup = getKey<String>("VERSION_NAME") ?: 0
|
val lastAppAutoBackup : String = getKey("VERSION_NAME") ?: ""
|
||||||
if (appVer != lastAppAutoBackup) {
|
if (appVer != lastAppAutoBackup) {
|
||||||
setKey("VERSION_NAME", BuildConfig.VERSION_NAME)
|
setKey("VERSION_NAME", BuildConfig.VERSION_NAME)
|
||||||
backup()
|
backup()
|
||||||
|
|
Loading…
Reference in a new issue