Akkad nhi Bakkad

This commit is contained in:
Rahul Patel
2024-07-12 21:54:06 +05:30
parent e49d838377
commit 2dd77cc3aa
2 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ import androidx.core.content.ContextCompat
import androidx.hilt.work.HiltWorkerFactory
import androidx.work.Configuration
import com.aurora.extensions.isPAndAbove
import com.aurora.store.data.event.FlowEvent
import com.aurora.store.data.event.EventFlow
import com.aurora.store.data.receiver.PackageManagerReceiver
import com.aurora.store.util.CommonUtil
import com.aurora.store.util.DownloadWorkerUtil
@@ -58,7 +58,7 @@ class AuroraApp : Application(), Configuration.Provider {
private set
val enqueuedInstalls: MutableSet<String> = mutableSetOf()
val events = FlowEvent()
val events = EventFlow()
}
override fun onCreate() {

View File

@@ -6,9 +6,9 @@ import kotlinx.coroutines.flow.asSharedFlow
import javax.inject.Singleton
@Singleton
class FlowEvent {
class EventFlow {
private val TAG = FlowEvent::class.java.simpleName
private val TAG = EventFlow::class.java.simpleName
private val _busEvent = MutableSharedFlow<BusEvent>(extraBufferCapacity = 1)
val busEvent = _busEvent.asSharedFlow()