Skip to content

Commit a9c01a8

Browse files
committed
Now that DefaultPreferencesDataStoreFactory is protected DataStore creation, FullScreenIntentPermissionsPresenter does not need to be a singleton.
1 parent 46ccb80 commit a9c01a8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

libraries/fullscreenintent/impl/src/main/kotlin/io/element/android/libraries/fullscreenintent/impl/FullScreenIntentPermissionsPresenter.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ import androidx.datastore.preferences.core.booleanPreferencesKey
2121
import androidx.datastore.preferences.core.edit
2222
import io.element.android.libraries.architecture.Presenter
2323
import io.element.android.libraries.core.meta.BuildMeta
24-
import io.element.android.libraries.di.AppScope
25-
import io.element.android.libraries.di.SingleIn
2624
import io.element.android.libraries.fullscreenintent.api.FullScreenIntentPermissionsEvents
2725
import io.element.android.libraries.fullscreenintent.api.FullScreenIntentPermissionsState
2826
import io.element.android.libraries.preferences.api.store.PreferenceDataStoreFactory
@@ -32,7 +30,6 @@ import kotlinx.coroutines.flow.map
3230
import kotlinx.coroutines.launch
3331
import javax.inject.Inject
3432

35-
@SingleIn(AppScope::class)
3633
class FullScreenIntentPermissionsPresenter @Inject constructor(
3734
private val buildVersionSdkIntProvider: BuildVersionSdkIntProvider,
3835
private val externalIntentLauncher: ExternalIntentLauncher,

0 commit comments

Comments
 (0)