aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-09-19 19:43:17 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-09-19 19:43:17 +0000
commitd597048759a9ab5c4f5cd060d864cccfe6fc8562 (patch)
treee07ae4e91d397be4d34cd2f7bf935823e908db9b /app/src/main/java
parente6dd1c3aacfbb47380b775442e149d1d39f5266e (diff)
downloadinfinity-for-reddit-d597048759a9ab5c4f5cd060d864cccfe6fc8562.tar
infinity-for-reddit-d597048759a9ab5c4f5cd060d864cccfe6fc8562.tar.gz
infinity-for-reddit-d597048759a9ab5c4f5cd060d864cccfe6fc8562.tar.bz2
infinity-for-reddit-d597048759a9ab5c4f5cd060d864cccfe6fc8562.tar.lz
infinity-for-reddit-d597048759a9ab5c4f5cd060d864cccfe6fc8562.tar.xz
infinity-for-reddit-d597048759a9ab5c4f5cd060d864cccfe6fc8562.tar.zst
infinity-for-reddit-d597048759a9ab5c4f5cd060d864cccfe6fc8562.zip
Update color for the new theme item.
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/RedditDataRoomDatabase.java2
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/customtheme/CustomThemeWrapper.java40
2 files changed, 21 insertions, 21 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/RedditDataRoomDatabase.java b/app/src/main/java/ml/docilealligator/infinityforreddit/RedditDataRoomDatabase.java
index e4fb282f..ac76b6c9 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/RedditDataRoomDatabase.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/RedditDataRoomDatabase.java
@@ -387,7 +387,7 @@ public abstract class RedditDataRoomDatabase extends RoomDatabase {
private static final Migration MIGRATION_23_24 = new Migration(23, 24) {
@Override
public void migrate(@NonNull SupportSQLiteDatabase database) {
- database.execSQL("ALTER TABLE custom_themes ADD COLUMN filled_card_view_background_color INTEGER DEFAULT " + Color.parseColor("#FFF6F5") + " NOT NULL");
+ database.execSQL("ALTER TABLE custom_themes ADD COLUMN filled_card_view_background_color INTEGER DEFAULT " + Color.parseColor("#E6F4FF") + " NOT NULL");
database.execSQL("ALTER TABLE custom_themes ADD COLUMN read_post_filled_card_view_background_color INTEGER DEFAULT " + Color.parseColor("#F5F5F5") + " NOT NULL");
}
};
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/customtheme/CustomThemeWrapper.java b/app/src/main/java/ml/docilealligator/infinityforreddit/customtheme/CustomThemeWrapper.java
index d80b9b29..c8bb5298 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/customtheme/CustomThemeWrapper.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/customtheme/CustomThemeWrapper.java
@@ -129,7 +129,7 @@ public class CustomThemeWrapper {
public int getFilledCardViewBackgroundColor() {
return getThemeSharedPreferences().getInt(CustomThemeSharedPreferencesUtils.FILLED_CARD_VIEW_BACKGROUND_COLOR,
- getDefaultColor("#FFF6F5", "#242424", "#000000"));
+ getDefaultColor("#E6F4FF", "#242424", "#000000"));
}
public int getReadPostFilledCardViewBackgroundColor() {
@@ -544,7 +544,7 @@ public class CustomThemeWrapper {
customTheme.backgroundColor = Color.parseColor("#FFFFFF");
customTheme.cardViewBackgroundColor = Color.parseColor("#FFFFFF");
customTheme.readPostCardViewBackgroundColor = Color.parseColor("#F5F5F5");
- customTheme.filledCardViewBackgroundColor = Color.parseColor("#FFF6F5");
+ customTheme.filledCardViewBackgroundColor = Color.parseColor("#E6F4FF");
customTheme.readPostFilledCardViewBackgroundColor = Color.parseColor("#F5F5F5");
customTheme.commentBackgroundColor = Color.parseColor("#FFFFFF");
customTheme.bottomAppBarBackgroundColor = Color.parseColor("#FFFFFF");
@@ -639,8 +639,8 @@ public class CustomThemeWrapper {
customTheme.backgroundColor = Color.parseColor("#121212");
customTheme.cardViewBackgroundColor = Color.parseColor("#242424");
customTheme.readPostCardViewBackgroundColor = Color.parseColor("#101010");
- customTheme.filledCardViewBackgroundColor = Color.parseColor("#FFF6F5");
- customTheme.readPostFilledCardViewBackgroundColor = Color.parseColor("#F5F5F5");
+ customTheme.filledCardViewBackgroundColor = Color.parseColor("#242424");
+ customTheme.readPostFilledCardViewBackgroundColor = Color.parseColor("#101010");
customTheme.commentBackgroundColor = Color.parseColor("#242424");
customTheme.bottomAppBarBackgroundColor = Color.parseColor("#121212");
customTheme.primaryIconColor = Color.parseColor("#FFFFFF");
@@ -734,8 +734,8 @@ public class CustomThemeWrapper {
customTheme.backgroundColor = Color.parseColor("#000000");
customTheme.cardViewBackgroundColor = Color.parseColor("#000000");
customTheme.readPostCardViewBackgroundColor = Color.parseColor("#000000");
- customTheme.filledCardViewBackgroundColor = Color.parseColor("#FFF6F5");
- customTheme.readPostFilledCardViewBackgroundColor = Color.parseColor("#F5F5F5");
+ customTheme.filledCardViewBackgroundColor = Color.parseColor("#000000");
+ customTheme.readPostFilledCardViewBackgroundColor = Color.parseColor("#000000");
customTheme.commentBackgroundColor = Color.parseColor("#000000");
customTheme.bottomAppBarBackgroundColor = Color.parseColor("#000000");
customTheme.primaryIconColor = Color.parseColor("#FFFFFF");
@@ -829,7 +829,7 @@ public class CustomThemeWrapper {
customTheme.backgroundColor = Color.parseColor("#FFFFFF");
customTheme.cardViewBackgroundColor = Color.parseColor("#FFFFFF");
customTheme.readPostCardViewBackgroundColor = Color.parseColor("#F5F5F5");
- customTheme.filledCardViewBackgroundColor = Color.parseColor("#FFF6F5");
+ customTheme.filledCardViewBackgroundColor = Color.parseColor("#E6F4FF");
customTheme.readPostFilledCardViewBackgroundColor = Color.parseColor("#F5F5F5");
customTheme.commentBackgroundColor = Color.parseColor("#FFFFFF");
customTheme.bottomAppBarBackgroundColor = Color.parseColor("#FFFFFF");
@@ -924,8 +924,8 @@ public class CustomThemeWrapper {
customTheme.backgroundColor = Color.parseColor("#121212");
customTheme.cardViewBackgroundColor = Color.parseColor("#242424");
customTheme.readPostCardViewBackgroundColor = Color.parseColor("#101010");
- customTheme.filledCardViewBackgroundColor = Color.parseColor("#FFF6F5");
- customTheme.readPostFilledCardViewBackgroundColor = Color.parseColor("#F5F5F5");
+ customTheme.filledCardViewBackgroundColor = Color.parseColor("#242424");
+ customTheme.readPostFilledCardViewBackgroundColor = Color.parseColor("#101010");
customTheme.commentBackgroundColor = Color.parseColor("#242424");
customTheme.bottomAppBarBackgroundColor = Color.parseColor("#121212");
customTheme.primaryIconColor = Color.parseColor("#FFFFFF");
@@ -1019,8 +1019,8 @@ public class CustomThemeWrapper {
customTheme.backgroundColor = Color.parseColor("#000000");
customTheme.cardViewBackgroundColor = Color.parseColor("#000000");
customTheme.readPostCardViewBackgroundColor = Color.parseColor("#000000");
- customTheme.filledCardViewBackgroundColor = Color.parseColor("#FFF6F5");
- customTheme.readPostFilledCardViewBackgroundColor = Color.parseColor("#F5F5F5");
+ customTheme.filledCardViewBackgroundColor = Color.parseColor("#000000");
+ customTheme.readPostFilledCardViewBackgroundColor = Color.parseColor("#000000");
customTheme.commentBackgroundColor = Color.parseColor("#000000");
customTheme.bottomAppBarBackgroundColor = Color.parseColor("#000000");
customTheme.primaryIconColor = Color.parseColor("#FFFFFF");
@@ -1114,7 +1114,7 @@ public class CustomThemeWrapper {
customTheme.backgroundColor = Color.parseColor("#FFFFFF");
customTheme.cardViewBackgroundColor = Color.parseColor("#FFFFFF");
customTheme.readPostCardViewBackgroundColor = Color.parseColor("#F5F5F5");
- customTheme.filledCardViewBackgroundColor = Color.parseColor("#FFF6F5");
+ customTheme.filledCardViewBackgroundColor = Color.parseColor("#FFE9F3");
customTheme.readPostFilledCardViewBackgroundColor = Color.parseColor("#F5F5F5");
customTheme.commentBackgroundColor = Color.parseColor("#FFFFFF");
customTheme.bottomAppBarBackgroundColor = Color.parseColor("#FFFFFF");
@@ -1209,8 +1209,8 @@ public class CustomThemeWrapper {
customTheme.backgroundColor = Color.parseColor("#121212");
customTheme.cardViewBackgroundColor = Color.parseColor("#242424");
customTheme.readPostCardViewBackgroundColor = Color.parseColor("#101010");
- customTheme.filledCardViewBackgroundColor = Color.parseColor("#FFF6F5");
- customTheme.readPostFilledCardViewBackgroundColor = Color.parseColor("#F5F5F5");
+ customTheme.filledCardViewBackgroundColor = Color.parseColor("#242424");
+ customTheme.readPostFilledCardViewBackgroundColor = Color.parseColor("#101010");
customTheme.commentBackgroundColor = Color.parseColor("#242424");
customTheme.bottomAppBarBackgroundColor = Color.parseColor("#121212");
customTheme.primaryIconColor = Color.parseColor("#FFFFFF");
@@ -1304,8 +1304,8 @@ public class CustomThemeWrapper {
customTheme.backgroundColor = Color.parseColor("#000000");
customTheme.cardViewBackgroundColor = Color.parseColor("#000000");
customTheme.readPostCardViewBackgroundColor = Color.parseColor("#000000");
- customTheme.filledCardViewBackgroundColor = Color.parseColor("#FFF6F5");
- customTheme.readPostFilledCardViewBackgroundColor = Color.parseColor("#F5F5F5");
+ customTheme.filledCardViewBackgroundColor = Color.parseColor("#000000");
+ customTheme.readPostFilledCardViewBackgroundColor = Color.parseColor("#000000");
customTheme.commentBackgroundColor = Color.parseColor("#000000");
customTheme.bottomAppBarBackgroundColor = Color.parseColor("#000000");
customTheme.primaryIconColor = Color.parseColor("#FFFFFF");
@@ -1399,8 +1399,8 @@ public class CustomThemeWrapper {
customTheme.backgroundColor = Color.parseColor("#282A36");
customTheme.cardViewBackgroundColor = Color.parseColor("#393A59");
customTheme.readPostCardViewBackgroundColor = Color.parseColor("#1C1F3D");
- customTheme.filledCardViewBackgroundColor = Color.parseColor("#FFF6F5");
- customTheme.readPostFilledCardViewBackgroundColor = Color.parseColor("#F5F5F5");
+ customTheme.filledCardViewBackgroundColor = Color.parseColor("#393A59");
+ customTheme.readPostFilledCardViewBackgroundColor = Color.parseColor("#1C1F3D");
customTheme.commentBackgroundColor = Color.parseColor("#393A59");
customTheme.bottomAppBarBackgroundColor = Color.parseColor("#393A59");
customTheme.primaryIconColor = Color.parseColor("#FFFFFF");
@@ -1494,8 +1494,8 @@ public class CustomThemeWrapper {
customTheme.backgroundColor = Color.parseColor("#DAD0DE");
customTheme.cardViewBackgroundColor = Color.parseColor("#C0F0F4");
customTheme.readPostCardViewBackgroundColor = Color.parseColor("#D2E7EA");
- customTheme.filledCardViewBackgroundColor = Color.parseColor("#FFF6F5");
- customTheme.readPostFilledCardViewBackgroundColor = Color.parseColor("#F5F5F5");
+ customTheme.filledCardViewBackgroundColor = Color.parseColor("#C0F0F4");
+ customTheme.readPostFilledCardViewBackgroundColor = Color.parseColor("#D2E7EA");
customTheme.commentBackgroundColor = Color.parseColor("#C0F0F4");
customTheme.bottomAppBarBackgroundColor = Color.parseColor("#D48AE0");
customTheme.primaryIconColor = Color.parseColor("#000000");