show correct initial value for 'show classic emails'

This commit is contained in:
B. Petersen
2019-03-28 00:53:22 +01:00
parent 089554e098
commit b5f94deb81
@@ -145,7 +145,11 @@ public class AdvancedPreferenceFragment extends ListSummaryPreferenceFragment
sentboxWatchCheckbox.setChecked(0!=dcContext.getConfigInt("sentbox_watch"));
mvboxWatchCheckbox.setChecked(0!=dcContext.getConfigInt("mvbox_watch"));
mvboxMoveCheckbox.setChecked(0!=dcContext.getConfigInt("mvbox_move"));
updateListSummary(showEmails, Integer.toString(dcContext.getConfigInt("show_emails")));
String value = Integer.toString(dcContext.getConfigInt("show_emails"));
showEmails.setValue(value);
updateListSummary(showEmails, value);
initializeListSummary((ListPreferenceWithSummary) findPreference("pref_compression"));
}