From 31d5b6023ea95bbdcbc68de9651eeec0eb8ff28c Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Tue, 15 Aug 2023 12:23:29 +0200 Subject: make the compiler happy --- .../at/hannibal2/skyhanni/features/fame/AccountUpgradeReminder.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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() + } } -- cgit