aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-15 12:23:29 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-15 12:23:29 +0200
commit31d5b6023ea95bbdcbc68de9651eeec0eb8ff28c (patch)
treefbd3e27d30f0cc047186418ee194aed61805b1b1 /src
parentfd356d688683176dd45d41bddc0f58be5304ccef (diff)
downloadskyhanni-31d5b6023ea95bbdcbc68de9651eeec0eb8ff28c.tar.gz
skyhanni-31d5b6023ea95bbdcbc68de9651eeec0eb8ff28c.tar.bz2
skyhanni-31d5b6023ea95bbdcbc68de9651eeec0eb8ff28c.zip
make the compiler happy
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fame/AccountUpgradeReminder.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fame/AccountUpgradeReminder.kt b/src/main/java/at/hannibal2/skyhanni/features/fame/AccountUpgradeReminder.kt
index 81c76f9f5..5ededb3ee 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fame/AccountUpgradeReminder.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fame/AccountUpgradeReminder.kt
@@ -21,7 +21,9 @@ class AccountUpgradeReminder {
private var nextCompletionTime: SimpleTimeMark?
get() = ProfileStorageData.playerSpecific?.nextAccountUpgradeCompletionTime?.asTimeMark()
set(value) {
- ProfileStorageData.playerSpecific?.nextAccountUpgradeCompletionTime = value?.toMillis()
+ value?.let {
+ ProfileStorageData.playerSpecific?.nextAccountUpgradeCompletionTime = it.toMillis()
+ }
}