Making progress on notification for multi account.
This commit is contained in:
parent
6aeb94fa15
commit
7e7e798acf
28 changed files with 483 additions and 620 deletions
|
|
@ -19,12 +19,6 @@ package io.element.android.libraries.push.api
|
|||
import io.element.android.libraries.matrix.api.MatrixClient
|
||||
|
||||
interface PushService {
|
||||
// TODO EAx remove
|
||||
fun setCurrentRoom(roomId: String?)
|
||||
|
||||
// TODO EAx remove
|
||||
fun setCurrentThread(threadId: String?)
|
||||
|
||||
fun notificationStyleChanged()
|
||||
|
||||
// Ensure pusher is registered
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ import kotlinx.coroutines.flow.Flow
|
|||
interface PushDataStore {
|
||||
val pushCounterFlow: Flow<Int>
|
||||
|
||||
// TODO Move all those settings to the per user store...
|
||||
fun areNotificationEnabledForDevice(): Boolean
|
||||
fun setNotificationEnabledForDevice(enabled: Boolean)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue