Skip to content

Commit

Permalink
Fixes ZapTheDevs card not disappearing after the donation.
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorpamplona committed Aug 28, 2024
1 parent 9ef0cee commit 3ebaf2b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ package com.vitorpamplona.amethyst.model
import android.content.res.Resources
import androidx.compose.runtime.Stable
import androidx.core.os.ConfigurationCompat
import com.vitorpamplona.amethyst.BuildConfig
import com.vitorpamplona.amethyst.service.Nip96MediaServers
import com.vitorpamplona.ammolite.relays.Constants
import com.vitorpamplona.ammolite.relays.RelaySetupInfo
Expand Down Expand Up @@ -426,7 +425,7 @@ class AccountSettings(
fun markDonatedInThisVersion(versionName: String): Boolean {
if (!hasDonatedInVersion.value.contains(versionName)) {
hasDonatedInVersion.update {
it + BuildConfig.VERSION_NAME
it + versionName
}
saveAccountSettings()
return true
Expand Down

0 comments on commit 3ebaf2b

Please sign in to comment.