From e5c4f357371dc2382ea83e600688818db62b8041 Mon Sep 17 00:00:00 2001 From: Koji Arai Date: Mon, 30 Aug 2010 14:14:43 +0000 Subject: [PATCH] Correct loading the alternated font size preferences. --- src/com/fsck/k9/FontSizes.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/fsck/k9/FontSizes.java b/src/com/fsck/k9/FontSizes.java index b1569809b..a59f2a5a7 100644 --- a/src/com/fsck/k9/FontSizes.java +++ b/src/com/fsck/k9/FontSizes.java @@ -158,11 +158,11 @@ public class FontSizes editor.putInt(MESSAGE_LIST_SENDER, messageListSender); editor.putInt(MESSAGE_LIST_DATE, messageListDate); - editor.putInt(MESSAGE_VIEW_SUBJECT, messageViewSubject); + editor.putInt(MESSAGE_VIEW_SENDER, messageViewSender); editor.putInt(MESSAGE_VIEW_TO, messageViewTo); editor.putInt(MESSAGE_VIEW_CC, messageViewCC); editor.putInt(MESSAGE_VIEW_ADDITIONAL_HEADERS, messageViewAdditionalHeaders); - editor.putInt(MESSAGE_VIEW_SENDER, messageViewSender); + editor.putInt(MESSAGE_VIEW_SUBJECT, messageViewSubject); editor.putInt(MESSAGE_VIEW_TIME, messageViewTime); editor.putInt(MESSAGE_VIEW_DATE, messageViewDate); editor.putInt(MESSAGE_VIEW_CONTENT, getMessageViewContentAsInt()); @@ -185,11 +185,11 @@ public class FontSizes messageListSender = prefs.getInt(MESSAGE_LIST_SENDER, messageListSender); messageListDate = prefs.getInt(MESSAGE_LIST_DATE, messageListDate); - messageViewSubject = prefs.getInt(MESSAGE_VIEW_SENDER, FONT_12DIP); + messageViewSender = prefs.getInt(MESSAGE_VIEW_SENDER, messageViewSender); messageViewTo = prefs.getInt(MESSAGE_VIEW_TO, messageViewTo); messageViewCC = prefs.getInt(MESSAGE_VIEW_CC, messageViewCC); messageViewAdditionalHeaders = prefs.getInt(MESSAGE_VIEW_ADDITIONAL_HEADERS, messageViewAdditionalHeaders); - messageViewSender = prefs.getInt(MESSAGE_VIEW_SUBJECT, messageViewSender); + messageViewSubject = prefs.getInt(MESSAGE_VIEW_SUBJECT, messageViewSubject); messageViewTime = prefs.getInt(MESSAGE_VIEW_TIME, messageViewTime); messageViewDate = prefs.getInt(MESSAGE_VIEW_DATE, messageViewDate); setMessageViewContent(prefs.getInt(MESSAGE_VIEW_CONTENT, 3));