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

Commit b950c52a authored by Nihar Thakkar's avatar Nihar Thakkar
Browse files

Modified some font sizes and styles, modified some icon sizes and enabled the...

Modified some font sizes and styles, modified some icon sizes and enabled the 'Show Pictures' setting by default.
parent 82bc0196
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -296,7 +296,7 @@ public class Account implements BaseAccount, AccountConfig {
        folderTargetMode = FolderMode.NOT_SECOND_CLASS;
        sortType = DEFAULT_SORT_TYPE;
        sortAscending.put(DEFAULT_SORT_TYPE, DEFAULT_SORT_ASCENDING);
        showPictures = ShowPictures.NEVER;
        showPictures = ShowPictures.ALWAYS;
        isSignatureBeforeQuotedText = false;
        expungePolicy = Expunge.EXPUNGE_IMMEDIATELY;
        autoExpandFolderName = INBOX;
@@ -466,7 +466,7 @@ public class Account implements BaseAccount, AccountConfig {

        sortAscending.put(sortType, storage.getBoolean(accountUuid + ".sortAscending", false));

        showPictures = Preferences.getEnumStringPref(storage, accountUuid + ".showPicturesEnum", ShowPictures.NEVER);
        showPictures = Preferences.getEnumStringPref(storage, accountUuid + ".showPicturesEnum", ShowPictures.ALWAYS);

        notificationSetting.setVibrate(storage.getBoolean(accountUuid + ".vibrate", false));
        notificationSetting.setVibratePattern(storage.getInt(accountUuid + ".vibratePattern", 0));
+1 −1
Original line number Diff line number Diff line
@@ -225,7 +225,7 @@ public class K9 extends Application

    private static boolean messageListCheckboxes = true;
    private static boolean messageListStars = true;
    private static int messageListPreviewLines = 2;
    private static int messageListPreviewLines = 1;

    private static boolean showCorrespondentNames = true;
    private static boolean showContactName = false;
+1 −1
Original line number Diff line number Diff line
@@ -186,7 +186,7 @@ public class MessageListAdapter extends CursorAdapter
        // Set the text of the from text view
        if (holder.from != null)
        {
            holder.from.setTypeface(Typeface.create(holder.from.getTypeface(), Typeface.BOLD));
            holder.from.setTypeface(Typeface.create(holder.from.getTypeface(), Typeface.NORMAL));
            holder.from.setText(displayName);
            holder.from.setVisibility(View.VISIBLE);
        }
+1 −1
Original line number Diff line number Diff line
@@ -155,7 +155,7 @@ public class AccountSettings {
                new Settings.V(9, new Settings.BooleanSetting(Account.DEFAULT_SORT_ASCENDING))
        ));
        s.put("showPicturesEnum", Settings.versions(
                new Settings.V(1, new Settings.EnumSetting<>(Account.ShowPictures.class, Account.ShowPictures.NEVER))
                new Settings.V(1, new Settings.EnumSetting<>(Account.ShowPictures.class, Account.ShowPictures.ALWAYS))
        ));
        s.put("signatureBeforeQuotedText", Settings.versions(
                new Settings.V(1, new Settings.BooleanSetting(false))
+6 −6
Original line number Diff line number Diff line
@@ -20,8 +20,8 @@

        <View
            android:id="@+id/flagged_message_count_icon"
            android:layout_width="32dp"
            android:layout_height="32dp" />
            android:layout_width="28dp"
            android:layout_height="28dp" />

        <TextView
            android:id="@+id/flagged_message_count"
@@ -29,7 +29,7 @@
            android:layout_height="wrap_content"
            android:ellipsize="end"
            android:singleLine="true"
            android:textAppearance="?android:attr/textAppearanceLarge" />
            android:textAppearance="?android:attr/textAppearanceMedium" />

    </LinearLayout>

@@ -46,8 +46,8 @@

        <View
            android:id="@+id/new_message_count_icon"
            android:layout_width="32dp"
            android:layout_height="32dp" />
            android:layout_width="28dp"
            android:layout_height="28dp" />

        <TextView
            android:id="@+id/new_message_count"
@@ -55,7 +55,7 @@
            android:layout_height="wrap_content"
            android:ellipsize="end"
            android:singleLine="true"
            android:textAppearance="?android:attr/textAppearanceLarge" />
            android:textAppearance="?android:attr/textAppearanceMedium" />

    </LinearLayout>

Loading