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

Unverified Commit a98b3b96 authored by Wolf-Martell Montwé's avatar Wolf-Martell Montwé
Browse files

Move `AccountManager` to `:legacy:account` module

parent 327247a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ import androidx.lifecycle.viewModelScope
import app.k9mail.feature.account.oauth.domain.AccountOAuthDomainContract.UseCase.GetOAuthRequestIntent
import app.k9mail.feature.account.oauth.domain.entity.AuthorizationIntentResult
import app.k9mail.legacy.account.Account
import com.fsck.k9.preferences.AccountManager
import app.k9mail.legacy.account.AccountManager
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.lifecycleScope
import androidx.lifecycle.repeatOnLifecycle
import app.k9mail.feature.settings.importing.R
import com.fsck.k9.preferences.AccountManager
import app.k9mail.legacy.account.AccountManager
import com.fsck.k9.ui.base.K9Activity
import com.google.android.material.textview.MaterialTextView
import kotlinx.coroutines.flow.Flow
+1 −4
Original line number Diff line number Diff line
package com.fsck.k9.preferences
package app.k9mail.legacy.account

import app.k9mail.legacy.account.Account
import com.fsck.k9.AccountRemovedListener
import com.fsck.k9.AccountsChangeListener
import kotlinx.coroutines.flow.Flow

interface AccountManager {
+1 −3
Original line number Diff line number Diff line
package com.fsck.k9

import app.k9mail.legacy.account.Account
package app.k9mail.legacy.account

fun interface AccountRemovedListener {
    fun onAccountRemoved(account: Account)
+1 −1
Original line number Diff line number Diff line
package com.fsck.k9;
package app.k9mail.legacy.account;


public interface AccountsChangeListener {
Loading