Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit a4176c7c authored by Philipp Kewisch's avatar Philipp Kewisch Committed by GitHub
Browse files

Merge pull request #9043 from shamim-emon/move-legacy-common-feature-to-app-common

Refactor: Move :legacy:common.feature to app-common.feature
parents 7a27f655 53fc39ae
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -9,8 +9,14 @@ android {
dependencies {
    api(projects.legacy.common)

    api(projects.legacy.ui.legacy)

    api(projects.feature.account.core)

    api(projects.feature.launcher)

    api(projects.feature.navigation.drawer.api)

    implementation(projects.legacy.core)
    implementation(projects.legacy.account)

+1 −1
Original line number Diff line number Diff line
package com.fsck.k9.feature
package net.thunderbird.app.common.feature

import android.content.Context
import app.k9mail.feature.launcher.FeatureLauncherExternalContract
+1 −1
Original line number Diff line number Diff line
package com.fsck.k9.feature
package net.thunderbird.app.common.feature

import app.k9mail.feature.launcher.FeatureLauncherExternalContract
import net.thunderbird.feature.navigation.drawer.api.NavigationDrawerExternalContract
+12 −0
Original line number Diff line number Diff line
package com.fsck.k9.feature
package net.thunderbird.app.common.feature

import com.fsck.k9.preferences.DrawerConfigManager
import kotlinx.coroutines.flow.Flow
import net.thunderbird.feature.navigation.drawer.api.NavigationDrawerExternalContract.DrawerConfig
import net.thunderbird.feature.navigation.drawer.api.NavigationDrawerExternalContract.DrawerConfigLoader
import net.thunderbird.feature.navigation.drawer.api.NavigationDrawerExternalContract

class NavigationDrawerConfigLoader(private val drawerConfigManager: DrawerConfigManager) : DrawerConfigLoader {
    override fun loadDrawerConfigFlow(): Flow<DrawerConfig> {
class NavigationDrawerConfigLoader(private val drawerConfigManager: DrawerConfigManager) :
    NavigationDrawerExternalContract.DrawerConfigLoader {
    override fun loadDrawerConfigFlow(): Flow<NavigationDrawerExternalContract.DrawerConfig> {
        return drawerConfigManager.getConfigFlow()
    }
}
+1 −1
Original line number Diff line number Diff line
package com.fsck.k9.feature
package net.thunderbird.app.common.feature

import com.fsck.k9.preferences.DrawerConfigManager
import net.thunderbird.feature.navigation.drawer.api.NavigationDrawerExternalContract
Loading