Add roomsWithUserDefinedRules data and render list
- get roomsWithUserDefinedRules from rust - add to state in the presenter - render in the edit defaults view as a list
This commit is contained in:
parent
cfb71ad1f6
commit
752da37383
7 changed files with 147 additions and 0 deletions
|
|
@ -110,4 +110,9 @@ class RustNotificationSettingsService(
|
|||
notificationSettings.setCallEnabled(enabled)
|
||||
}
|
||||
}
|
||||
|
||||
override suspend fun getRoomsWithUserDefinedRules(): Result<List<String>> =
|
||||
runCatching {
|
||||
notificationSettings.getRoomsWithUserDefinedRules(enabled = true)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue