Fix moar ktlint issues
This commit is contained in:
parent
a831f05f6e
commit
5d086ad82d
528 changed files with 146 additions and 629 deletions
|
|
@ -24,7 +24,6 @@ import kotlinx.coroutines.flow.MutableStateFlow
|
|||
import kotlinx.coroutines.flow.StateFlow
|
||||
|
||||
class DefaultAppForegroundStateService : AppForegroundStateService {
|
||||
|
||||
private val state = MutableStateFlow(false)
|
||||
override val isInForeground: StateFlow<Boolean> = state
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@ class DefaultAppNavigationStateService @Inject constructor(
|
|||
private val appForegroundStateService: AppForegroundStateService,
|
||||
private val coroutineScope: CoroutineScope,
|
||||
) : AppNavigationStateService {
|
||||
|
||||
private val state = MutableStateFlow(
|
||||
AppNavigationState(
|
||||
navigationState = NavigationState.Root,
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ import io.element.android.services.appnavstate.impl.initializer.AppForegroundSta
|
|||
@Module
|
||||
@ContributesTo(AppScope::class)
|
||||
object AppNavStateModule {
|
||||
|
||||
@Provides
|
||||
fun provideAppForegroundStateService(
|
||||
@ApplicationContext context: Context
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ import kotlinx.coroutines.flow.StateFlow
|
|||
class FakeAppForegroundStateService(
|
||||
initialValue: Boolean = true,
|
||||
) : AppForegroundStateService {
|
||||
|
||||
private val state = MutableStateFlow(initialValue)
|
||||
override val isInForeground: StateFlow<Boolean> = state
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue