mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
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:
+5
@@ -110,4 +110,9 @@ class RustNotificationSettingsService(
|
||||
notificationSettings.setCallEnabled(enabled)
|
||||
}
|
||||
}
|
||||
|
||||
override suspend fun getRoomsWithUserDefinedRules(): Result<List<String>> =
|
||||
runCatching {
|
||||
notificationSettings.getRoomsWithUserDefinedRules(enabled = true)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user