kopia lustrzana https://github.com/vitorpamplona/amethyst
fix default value for the draft note
rodzic
26a1624399
commit
76a93f84c3
|
@ -472,7 +472,7 @@ object LocalPreferences {
|
|||
|
||||
fun loadDraft(account: Account): String? {
|
||||
val prefs = encryptedPreferences(account.keyPair.pubKey.toNpub())
|
||||
return prefs.getString(PrefKeys.NEW_POST_DRAFT, "")
|
||||
return prefs.getString(PrefKeys.NEW_POST_DRAFT, null)
|
||||
}
|
||||
|
||||
fun clearDraft(account: Account) {
|
||||
|
|
Ładowanie…
Reference in New Issue