This repository has been archived by the owner on Jun 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add temporary fix for
scheduleButton
CSL state in `NotificationsLis…
…tAdapter` Had to use `state_selected` for CSL instaed of `state_enabled` because of weird issues when pinning and un-pinning. Need to resolve it later. Reproducing steps: Pin a past note with schedule, close the app, open the app, unpin note with `state_enabled` in CSL the icon color is not set to disabled color.
- Loading branch information
1 parent
ced2ace
commit 01bf20e
Showing
4 changed files
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:alpha="0.32" android:color="?attr/colorSecondary" android:state_enabled="false" /> | ||
<item android:color="?attr/colorSecondary" android:state_enabled="true" /> | ||
<item android:alpha="0.32" android:color="?attr/colorSecondary" android:state_selected="false" /> | ||
<item android:color="?attr/colorSecondary" android:state_selected="true" /> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:alpha="0.16" android:color="?attr/colorSecondary" android:state_enabled="false" /> | ||
<item android:color="?attr/colorSecondary" android:state_enabled="true" /> | ||
<item android:alpha="0.16" android:color="?attr/colorSecondary" android:state_selected="false" /> | ||
<item android:color="?attr/colorSecondary" android:state_selected="true" /> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:alpha="0.32" android:color="?attr/colorSecondary" android:state_enabled="false" /> | ||
<item android:color="?attr/colorSecondary" android:state_enabled="true" /> | ||
<item android:alpha="0.32" android:color="?attr/colorSecondary" android:state_selected="false" /> | ||
<item android:color="?attr/colorSecondary" android:state_selected="true" /> | ||
</selector> |