Adjust coroutine scope default dispatchers
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ interface NotificationRepository {
|
||||
}
|
||||
|
||||
internal class NotificationRepositoryImpl() : NotificationRepository {
|
||||
private val scope = CoroutineScope(Job() + Dispatchers.Main)
|
||||
private val scope = CoroutineScope(Job() + Dispatchers.Default)
|
||||
override val notifications: MutableStateFlow<List<StatusBarNotification>> = MutableStateFlow(
|
||||
emptyList()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user