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

Commit 6d28d134 authored by Mohit Mali's avatar Mohit Mali
Browse files

Fixed white color of app

parent 863a79e5
Loading
Loading
Loading
Loading
Loading
+2 −4
Original line number Original line Diff line number Diff line
@@ -178,12 +178,10 @@ class MainActivity : QkThemedActivity(), MainView {
                }
                }


        // Miscellaneous views
        // Miscellaneous views
        syncingProgress?.progressTintList = ColorStateList.valueOf(getColor(R.color.tools_theme))
        syncingProgress?.progressTintList = ColorStateList.valueOf(resources.getColor(R.color.tools_theme))
        syncingProgress?.indeterminateTintList = ColorStateList.valueOf(getColor(R.color.tools_theme))
        syncingProgress?.indeterminateTintList = ColorStateList.valueOf(getColor(R.color.tools_theme))
        compose.setBackgroundTint(getColor(R.color.tools_theme))

        // Set the FAB compose icon color
        // Set the FAB compose icon color
        compose.setTint(getColor(R.color.white))
        compose.setTint(getColor(R.color.tools_theme))


        itemTouchCallback.adapter = conversationsAdapter
        itemTouchCallback.adapter = conversationsAdapter
        conversationsAdapter.autoScrollToStart(recyclerView)
        conversationsAdapter.autoScrollToStart(recyclerView)
+1 −1
Original line number Original line Diff line number Diff line
@@ -121,7 +121,7 @@ class WidgetProvider : AppWidgetProvider() {
        remoteViews.setInt(R.id.toolbar, "setColorFilter", context.getColorCompat(when {
        remoteViews.setInt(R.id.toolbar, "setColorFilter", context.getColorCompat(when {
            night && black -> R.color.black
            night && black -> R.color.black
            night && !black -> R.color.toolbarDark
            night && !black -> R.color.toolbarDark
            else -> R.color.toolbarLight
            else -> R.color.colorPrimary
        }))
        }))


        remoteViews.setTextColor(R.id.title, context.getColorCompat(when (night) {
        remoteViews.setTextColor(R.id.title, context.getColorCompat(when (night) {
+2 −5
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?><!--
<!--
  ~ Copyright (C) 2019 Moez Bhatti <moez.bhatti@gmail.com>
  ~ Copyright (C) 2019 Moez Bhatti <moez.bhatti@gmail.com>
  ~
  ~
  ~ This file is part of QKSMS.
  ~ This file is part of QKSMS.
@@ -98,10 +97,8 @@
            android:elevation="8dp"
            android:elevation="8dp"
            android:padding="16dp"
            android:padding="16dp"
            android:src="@drawable/ic_add_black_24dp"
            android:src="@drawable/ic_add_black_24dp"
            android:tint="@color/white"
            app:layout_constraintBottom_toTopOf="@id/bottom"
            app:layout_constraintBottom_toTopOf="@id/bottom"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintEnd_toEndOf="parent" />
            tools:backgroundTint="@color/tools_theme" />


        <View
        <View
            android:layout_width="0dp"
            android:layout_width="0dp"
+5 −4
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?><!--
<!--
  ~ Copyright (C) 2019 Moez Bhatti <moez.bhatti@gmail.com>
  ~ Copyright (C) 2019 Moez Bhatti <moez.bhatti@gmail.com>
  ~
  ~
  ~ This file is part of QKSMS.
  ~ This file is part of QKSMS.
@@ -27,7 +26,7 @@
    <color name="statusBarLight">#FFFFFF</color>
    <color name="statusBarLight">#FFFFFF</color>
    <color name="statusBarDark">#1d262b</color>
    <color name="statusBarDark">#1d262b</color>


    <color name="toolbarLight">#FFFFFF</color>
    <color name="toolbarLight">@color/colorPrimary</color>
    <color name="toolbarDark">#1d262b</color>
    <color name="toolbarDark">#1d262b</color>
    <color name="toolbarTranslucent">#88000000</color>
    <color name="toolbarTranslucent">#88000000</color>
    <color name="toolbarSearchBackgroundLight">#0D000000</color>
    <color name="toolbarSearchBackgroundLight">#0D000000</color>
@@ -67,5 +66,7 @@
    <color name="switchTrackDisabledDark">#383838</color>
    <color name="switchTrackDisabledDark">#383838</color>


    <!-- This colour should only ever be used for attrs with the tools tag -->
    <!-- This colour should only ever be used for attrs with the tools tag -->
    <color name="tools_theme">@lineageos.platform:color/color_default_primary</color>
    <color name="tools_theme">@lineageos.platform:color/color_default_accent</color>
    <color name="colorPrimary">@lineageos.platform:color/color_default_primary</color>
    <color name="colorPrimaryDark">@lineageos.platform:color/color_default_primary_dark</color>
</resources>
</resources>
+5 −4
Original line number Original line Diff line number Diff line
@@ -44,8 +44,9 @@
        <item name="android:windowContentTransitions">true</item>
        <item name="android:windowContentTransitions">true</item>
        <item name="actionBarPopupTheme">@style/PopupTheme</item>
        <item name="actionBarPopupTheme">@style/PopupTheme</item>
        <item name="bubbleColor">@color/bubbleLight</item>
        <item name="bubbleColor">@color/bubbleLight</item>
        <item name="colorPrimary">@color/toolbarLight</item>
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/statusBarLight</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/tools_theme</item>
        <item name="composeBackground">@color/backgroundLight</item>
        <item name="composeBackground">@color/backgroundLight</item>
        <item name="selectableItemBackground">@drawable/ripple</item>
        <item name="selectableItemBackground">@drawable/ripple</item>
        <item name="switchThumbEnabled">@color/switchThumbEnabledLight</item>
        <item name="switchThumbEnabled">@color/switchThumbEnabledLight</item>
@@ -62,8 +63,8 @@
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="actionBarPopupTheme">@style/PopupTheme</item>
        <item name="actionBarPopupTheme">@style/PopupTheme</item>
        <item name="bubbleColor">@color/bubbleLight</item>
        <item name="bubbleColor">@color/bubbleLight</item>
        <item name="colorPrimary">@color/toolbarLight</item>
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/statusBarLight</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="composeBackground">@color/backgroundLight</item>
        <item name="composeBackground">@color/backgroundLight</item>
        <item name="selectableItemBackground">@drawable/ripple</item>
        <item name="selectableItemBackground">@drawable/ripple</item>
        <item name="windowActionBar">false</item>
        <item name="windowActionBar">false</item>