Improve API, to avoid ignoring errors
This commit is contained in:
parent
d88ef8769e
commit
a65c290dd3
18 changed files with 143 additions and 107 deletions
|
|
@ -24,7 +24,7 @@ interface UserPushStore {
|
|||
suspend fun getPushProviderName(): String?
|
||||
suspend fun setPushProviderName(value: String)
|
||||
suspend fun getCurrentRegisteredPushKey(): String?
|
||||
suspend fun setCurrentRegisteredPushKey(value: String)
|
||||
suspend fun setCurrentRegisteredPushKey(value: String?)
|
||||
|
||||
fun getNotificationEnabledForDevice(): Flow<Boolean>
|
||||
suspend fun setNotificationEnabledForDevice(enabled: Boolean)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue