Fix incorrect thread used for delete chat history.

This commit is contained in:
Cody Henthorne
2024-07-22 12:38:13 -04:00
committed by Nicholas Tinsley
parent 2d557215a0
commit f1115130b2

View File

@@ -40,7 +40,7 @@ class ManageStorageSettingsViewModel : ViewModel() {
}
fun deleteChatHistory() {
viewModelScope.launch {
SignalExecutors.BOUNDED_IO.execute {
SignalDatabase.threads.deleteAllConversations()
AppDependencies.messageNotifier.updateNotification(AppDependencies.application)
}