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

Commit 8caad608 authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽
Browse files

Fix preference text color not updating issue

- Fix pref text color not updating on state change issue
- Update quite time English text
parent a0ce6d21
Loading
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright MURENA SAS 2023
  ~ This program is free software: you can redistribute it and/or modify
  ~ it under the terms of the GNU General Public License as published by
  ~ the Free Software Foundation, either version 3 of the License, or
  ~ (at your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU General Public License for more details.
  ~
  ~ You should have received a copy of the GNU General Public License
  ~  along with this program.  If not, see <https://www.gnu.org/licenses/>.
  -->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:color="@color/color_default_ternary_text"
        android:state_enabled="false" />

    <item android:color="@color/color_default_secondary_text" />
</selector>
+2 −2
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@
            android:singleLine="true"
            android:textStyle="bold"
            android:textAppearance="?android:attr/textAppearanceLarge"
            android:textColor="@color/color_default_secondary_text"
            android:textColor="@color/preference_text_color"
            android:textSize="14sp"
            android:layout_marginBottom="2dp"
            android:ellipsize="marquee"
@@ -61,7 +61,7 @@
            android:layout_alignStart="@android:id/title"
            android:layout_alignLeft="@android:id/title"
            android:textAppearance="?android:attr/textAppearanceSmall"
            android:textColor="@color/color_default_secondary_text"
            android:textColor="@color/preference_text_color"
            android:textSize="12sp"
            android:textStyle="normal"
            android:maxLines="4" />
+3 −3
Original line number Diff line number Diff line
@@ -297,8 +297,8 @@
    <string name="quiet_time_description">Disable ringing, buzzing and flashing at night</string>
    <string name="quiet_time_notification">Disable notifications</string>
    <string name="quiet_time_notification_description">Completely disable notifications during Quiet Time</string>
    <string name="quiet_time_starts">Quiet Time starts</string>
    <string name="quiet_time_ends">Quiet Time ends</string>
    <string name="quiet_time_starts">Quiet Time starts at</string>
    <string name="quiet_time_ends">Quiet Time ends at</string>
    <string name="global_settings_sent_sound_title">Email sent sound</string>
    <string name="global_settings_sent_sound_summary">Play a sound when an email is successfully sent</string>
    <string name="account_setup_basics_title">Set up a new account</string>
@@ -1139,5 +1139,5 @@ You can keep this message and use it as a backup for your secret key. If you wan
    <!-- A user visible label for the name and email address copied to the clipboard -->
    <string name="clipboard_label_name_and_email_address">Name and email address</string>

    <string name="network_quiet_time_description">Disable automatic sync at specific time</string>
    <string name="network_quiet_time_description">Disable automatic sync at specific time when activated</string>
</resources>