Loading app/core/src/main/java/com/fsck/k9/AccountPreferenceSerializer.kt +2 −2 Original line number Diff line number Diff line Loading @@ -95,7 +95,7 @@ class AccountPreferenceSerializer( isGoToUnreadMessageSearch = storage.getBoolean("$accountUuid.goToUnreadMessageSearch", false) isSubscribedFoldersOnly = storage.getBoolean("$accountUuid.subscribedFoldersOnly", false) maximumPolledMessageAge = storage.getInt("$accountUuid.maximumPolledMessageAge", -1) maximumAutoDownloadMessageSize = storage.getInt("$accountUuid.maximumAutoDownloadMessageSize", 32768) maximumAutoDownloadMessageSize = storage.getInt("$accountUuid.maximumAutoDownloadMessageSize", 1048576) messageFormat = getEnumStringPref<MessageFormat>(storage, "$accountUuid.messageFormat", DEFAULT_MESSAGE_FORMAT) val messageFormatAuto = storage.getBoolean("$accountUuid.messageFormatAuto", DEFAULT_MESSAGE_FORMAT_AUTO) if (messageFormatAuto && messageFormat == MessageFormat.TEXT) { Loading Loading @@ -565,7 +565,7 @@ class AccountPreferenceSerializer( isGoToUnreadMessageSearch = false isSubscribedFoldersOnly = false maximumPolledMessageAge = -1 maximumAutoDownloadMessageSize = 32768 maximumAutoDownloadMessageSize = 1048576 messageFormat = DEFAULT_MESSAGE_FORMAT isMessageFormatAuto = DEFAULT_MESSAGE_FORMAT_AUTO isMessageReadReceipt = DEFAULT_MESSAGE_READ_RECEIPT Loading app/core/src/main/java/com/fsck/k9/preferences/AccountSettingsDescriptions.java +1 −1 Original line number Diff line number Diff line Loading @@ -124,7 +124,7 @@ public class AccountSettingsDescriptions { new V(1, new IntegerRangeSetting(0, 100, 10)) )); s.put("maximumAutoDownloadMessageSize", Settings.versions( new V(1, new IntegerResourceSetting(32768, R.array.autodownload_message_size_values)) new V(1, new IntegerResourceSetting(1048576, R.array.autodownload_message_size_values)) )); s.put("maximumPolledMessageAge", Settings.versions( new V(1, new IntegerResourceSetting(-1, R.array.message_age_values)) Loading Loading
app/core/src/main/java/com/fsck/k9/AccountPreferenceSerializer.kt +2 −2 Original line number Diff line number Diff line Loading @@ -95,7 +95,7 @@ class AccountPreferenceSerializer( isGoToUnreadMessageSearch = storage.getBoolean("$accountUuid.goToUnreadMessageSearch", false) isSubscribedFoldersOnly = storage.getBoolean("$accountUuid.subscribedFoldersOnly", false) maximumPolledMessageAge = storage.getInt("$accountUuid.maximumPolledMessageAge", -1) maximumAutoDownloadMessageSize = storage.getInt("$accountUuid.maximumAutoDownloadMessageSize", 32768) maximumAutoDownloadMessageSize = storage.getInt("$accountUuid.maximumAutoDownloadMessageSize", 1048576) messageFormat = getEnumStringPref<MessageFormat>(storage, "$accountUuid.messageFormat", DEFAULT_MESSAGE_FORMAT) val messageFormatAuto = storage.getBoolean("$accountUuid.messageFormatAuto", DEFAULT_MESSAGE_FORMAT_AUTO) if (messageFormatAuto && messageFormat == MessageFormat.TEXT) { Loading Loading @@ -565,7 +565,7 @@ class AccountPreferenceSerializer( isGoToUnreadMessageSearch = false isSubscribedFoldersOnly = false maximumPolledMessageAge = -1 maximumAutoDownloadMessageSize = 32768 maximumAutoDownloadMessageSize = 1048576 messageFormat = DEFAULT_MESSAGE_FORMAT isMessageFormatAuto = DEFAULT_MESSAGE_FORMAT_AUTO isMessageReadReceipt = DEFAULT_MESSAGE_READ_RECEIPT Loading
app/core/src/main/java/com/fsck/k9/preferences/AccountSettingsDescriptions.java +1 −1 Original line number Diff line number Diff line Loading @@ -124,7 +124,7 @@ public class AccountSettingsDescriptions { new V(1, new IntegerRangeSetting(0, 100, 10)) )); s.put("maximumAutoDownloadMessageSize", Settings.versions( new V(1, new IntegerResourceSetting(32768, R.array.autodownload_message_size_values)) new V(1, new IntegerResourceSetting(1048576, R.array.autodownload_message_size_values)) )); s.put("maximumPolledMessageAge", Settings.versions( new V(1, new IntegerResourceSetting(-1, R.array.message_age_values)) Loading