changes to make scheduled messages activity ui compliant with the rest of the app message listing activities. now allows sending and deleting multiple scheduled messages at once

This commit is contained in:
gavine99
2025-02-19 18:51:36 +11:00
parent 302dadd077
commit d7c5b1b71e
13 changed files with 430 additions and 241 deletions
@@ -69,6 +69,10 @@ class ScheduledMessageRepositoryImpl @Inject constructor() : ScheduledMessageRep
disposables.add(subscription)
}
override fun deleteScheduledMessages(ids: List<Long>) {
ids.forEach { deleteScheduledMessage(it) }
}
// Ensure to clear disposables when the repository is no longer needed
fun clearDisposables() {
disposables.clear()