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

Unverified Commit a8fb859a authored by Wolf-Martell Montwé's avatar Wolf-Martell Montwé Committed by GitHub
Browse files

Merge pull request #9148 from rafaeltonholo/refactor/7062/special-folders

Move SpecialFolderUpdater and SpecialFolderSelection to :core:mail:folder:api
parents 265c799a 1ee9a29b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@ import app.k9mail.feature.account.common.domain.entity.SpecialFolderSettings
import app.k9mail.feature.account.setup.AccountSetupExternalContract
import app.k9mail.feature.account.setup.AccountSetupExternalContract.AccountCreator.AccountCreatorResult
import app.k9mail.legacy.account.LegacyAccount
import app.k9mail.legacy.account.SpecialFolderSelection
import com.fsck.k9.Core
import com.fsck.k9.Preferences
import com.fsck.k9.account.DeletePolicyProvider
@@ -25,6 +24,7 @@ import com.fsck.k9.preferences.UnifiedInboxConfigurator
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
import net.thunderbird.core.mail.folder.api.SpecialFolderSelection

// TODO Move to feature/account/setup
internal class AccountCreator(
+1 −1
Original line number Diff line number Diff line
@@ -24,9 +24,9 @@ import app.k9mail.legacy.account.FolderMode
import app.k9mail.legacy.account.Identity
import app.k9mail.legacy.account.LegacyAccount
import app.k9mail.legacy.account.ShowPictures
import app.k9mail.legacy.account.SpecialFolderSelection
import com.fsck.k9.CoreResourceProvider
import com.fsck.k9.K9
import net.thunderbird.core.mail.folder.api.SpecialFolderSelection
import net.thunderbird.feature.notification.NotificationLight
import net.thunderbird.feature.notification.NotificationSettings
import net.thunderbird.feature.notification.NotificationVibration
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,6 @@ import app.k9mail.legacy.account.FolderMode
import app.k9mail.legacy.account.Identity
import app.k9mail.legacy.account.LegacyAccount
import app.k9mail.legacy.account.ShowPictures
import app.k9mail.legacy.account.SpecialFolderSelection
import assertk.assertThat
import assertk.assertions.isEqualTo
import assertk.assertions.isFalse
@@ -30,6 +29,7 @@ import assertk.assertions.isNull
import assertk.assertions.isTrue
import com.fsck.k9.CoreResourceProvider
import com.fsck.k9.K9
import net.thunderbird.core.mail.folder.api.SpecialFolderSelection
import net.thunderbird.feature.notification.NotificationLight
import net.thunderbird.feature.notification.NotificationSettings
import net.thunderbird.feature.notification.NotificationVibration
+1 −0
Original line number Diff line number Diff line
@@ -6,5 +6,6 @@ plugins {
dependencies {
    implementation(projects.core.account)
    implementation(projects.core.outcome)
    implementation(projects.core.mail.folder.api)
    api(projects.mail.common)
}
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ plugins {
}

dependencies {
    implementation(projects.core.account)
    implementation(projects.mail.common)

    testImplementation(projects.core.testing)
Loading