mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Fix incorrect thread used for delete chat history.
This commit is contained in:
committed by
Nicholas Tinsley
parent
2d557215a0
commit
f1115130b2
@@ -40,7 +40,7 @@ class ManageStorageSettingsViewModel : ViewModel() {
|
||||
}
|
||||
|
||||
fun deleteChatHistory() {
|
||||
viewModelScope.launch {
|
||||
SignalExecutors.BOUNDED_IO.execute {
|
||||
SignalDatabase.threads.deleteAllConversations()
|
||||
AppDependencies.messageNotifier.updateNotification(AppDependencies.application)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user