Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
}

android {
namespace = "app.k9mail.legacy.ui.account"
namespace = "net.thunderbird.core.ui.account"
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package app.k9mail.legacy.ui.account
package net.thunderbird.core.ui.account

import android.content.Context
import android.graphics.drawable.ColorDrawable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package app.k9mail.legacy.ui.account
package net.thunderbird.core.ui.account

import com.bumptech.glide.load.Key
import java.security.MessageDigest
Expand Down
2 changes: 1 addition & 1 deletion legacy/ui/legacy/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {

dependencies {
api(projects.legacy.ui.base)
api(projects.legacy.ui.account)
api(projects.core.ui.account)
api(projects.legacy.ui.folder)
api(projects.core.ui.legacy.designsystem)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import com.bumptech.glide.annotation.GlideModule;
import com.bumptech.glide.module.LibraryGlideModule;
import app.k9mail.legacy.di.DI;
import app.k9mail.legacy.ui.account.AccountImage;
import com.fsck.k9.ui.account.AccountImageModelLoaderFactory;
import net.thunderbird.core.ui.account.AccountImage;
import org.jetbrains.annotations.NotNull;

@GlideModule
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ package com.fsck.k9.ui.account

import android.graphics.Bitmap
import androidx.core.graphics.drawable.toBitmap
import app.k9mail.legacy.ui.account.AccountFallbackImageProvider
import app.k9mail.legacy.ui.account.AccountImage
import com.bumptech.glide.Priority
import com.bumptech.glide.load.DataSource
import com.bumptech.glide.load.Options
Expand All @@ -12,6 +10,8 @@ import com.bumptech.glide.load.model.ModelLoader
import com.bumptech.glide.load.model.ModelLoaderFactory
import com.bumptech.glide.load.model.MultiModelLoaderFactory
import com.fsck.k9.contacts.ContactPhotoLoader
import net.thunderbird.core.ui.account.AccountFallbackImageProvider
import net.thunderbird.core.ui.account.AccountImage

/**
* A custom [ModelLoader] so we can use [AccountImageDataFetcher] to load the account image.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.fsck.k9.ui.account

import app.k9mail.legacy.ui.account.AccountFallbackImageProvider
import net.thunderbird.core.ui.account.AccountFallbackImageProvider
import org.koin.dsl.module

val accountUiModule = module {
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ include(
":legacy:storage",
":legacy:testing",
":legacy:ui:base",
":legacy:ui:account",
":legacy:ui:folder",
":legacy:ui:legacy",
)
Expand Down Expand Up @@ -226,3 +225,4 @@ include(":core:preferences")
include(":core:mail:mailserver")
include(":feature:notification")
include(":core:ui:theme:manager")
include(":core:ui:account")