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

Commit 462a1ae5 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

mail: Load images by default

parent 78c413c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -201,7 +201,7 @@ class Account(

    @get:Synchronized
    @set:Synchronized
    var showPictures = ShowPictures.NEVER
    var showPictures = ShowPictures.ALWAYS

    @get:Synchronized
    @set:Synchronized
+2 −2
Original line number Diff line number Diff line
@@ -154,7 +154,7 @@ class AccountPreferenceSerializer(

            setSortAscending(sortType, storage.getBoolean("$accountUuid.sortAscending", false))

            showPictures = getEnumStringPref<ShowPictures>(storage, "$accountUuid.showPicturesEnum", ShowPictures.NEVER)
            showPictures = getEnumStringPref<ShowPictures>(storage, "$accountUuid.showPicturesEnum", ShowPictures.ALWAYS)

            updateNotificationSettings {
                NotificationSettings(
@@ -578,7 +578,7 @@ class AccountPreferenceSerializer(
            folderPushMode = FolderMode.ALL
            sortType = DEFAULT_SORT_TYPE
            setSortAscending(DEFAULT_SORT_TYPE, DEFAULT_SORT_ASCENDING)
            showPictures = ShowPictures.NEVER
            showPictures = ShowPictures.ALWAYS
            isSignatureBeforeQuotedText = false
            expungePolicy = Expunge.EXPUNGE_IMMEDIATELY
            importedAutoExpandFolder = null
+1 −1
Original line number Diff line number Diff line
@@ -179,7 +179,7 @@ class AccountSettingsDescriptions {
                new V(9, new BooleanSetting(Account.DEFAULT_SORT_ASCENDING))
        ));
        s.put("showPicturesEnum", Settings.versions(
                new V(1, new EnumSetting<>(ShowPictures.class, ShowPictures.NEVER))
                new V(1, new EnumSetting<>(ShowPictures.class, ShowPictures.ALWAYS))
        ));
        s.put("signatureBeforeQuotedText", Settings.versions(
                new V(1, new BooleanSetting(false))
+2 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ import com.fsck.k9.Core
import com.fsck.k9.Preferences
import com.fsck.k9.account.BackgroundAccountRemover
import app.k9mail.feature.account.accountmanager.autoconfig.EeloAutoConfigUrlProvider
import app.k9mail.legacy.account.Account
import com.fsck.k9.logging.Timber
import com.fsck.k9.mail.AuthType
import com.fsck.k9.mail.ServerSettings
@@ -55,6 +56,7 @@ internal class EeloAccountCreator(context: Context) : KoinComponent {
        newAccount.email = emailId
        newAccount.name = emailId
        newAccount.senderName = emailId
        newAccount.showPictures = Account.ShowPictures.ALWAYS

        Timber.d("accountType: $accountType")