mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-07 03:07:26 +01:00
Merge pull request 'fix #110 default colors' (#118) from American_Jesus/Infinity-For-Lemmy:fix-110-colors into master
Reviewed-on: https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy/pulls/118 Reviewed-by: Bazsalanszky <bazsalanszky@noreply.codeberg.org>
This commit is contained in:
commit
074b5d012c
@ -79,7 +79,7 @@ public class CustomThemeWrapper {
|
|||||||
|
|
||||||
public int getSecondaryTextColor() {
|
public int getSecondaryTextColor() {
|
||||||
return getThemeSharedPreferences().getInt(CustomThemeSharedPreferencesUtils.SECONDARY_TEXT_COLOR,
|
return getThemeSharedPreferences().getInt(CustomThemeSharedPreferencesUtils.SECONDARY_TEXT_COLOR,
|
||||||
getDefaultColor("#8A0000", "#B3FFFF", "#B3FFFF"));
|
getDefaultColor("#8A000000", "#B3FFFFFF", "#B3FFFFFF"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getPostTitleColor() {
|
public int getPostTitleColor() {
|
||||||
@ -89,7 +89,7 @@ public class CustomThemeWrapper {
|
|||||||
|
|
||||||
public int getPostContentColor() {
|
public int getPostContentColor() {
|
||||||
return getThemeSharedPreferences().getInt(CustomThemeSharedPreferencesUtils.POST_CONTENT_COLOR,
|
return getThemeSharedPreferences().getInt(CustomThemeSharedPreferencesUtils.POST_CONTENT_COLOR,
|
||||||
getDefaultColor("#8A0000", "#B3FFFF", "#B3FFFF"));
|
getDefaultColor("#8A000000", "#B3FFFFFF", "#B3FFFFFF"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getReadPostTitleColor() {
|
public int getReadPostTitleColor() {
|
||||||
@ -149,12 +149,12 @@ public class CustomThemeWrapper {
|
|||||||
|
|
||||||
public int getPostIconAndInfoColor() {
|
public int getPostIconAndInfoColor() {
|
||||||
return getThemeSharedPreferences().getInt(CustomThemeSharedPreferencesUtils.POST_ICON_AND_INFO_COLOR,
|
return getThemeSharedPreferences().getInt(CustomThemeSharedPreferencesUtils.POST_ICON_AND_INFO_COLOR,
|
||||||
getDefaultColor("#8A0000", "#FFFFFF", "#B3FFFF"));
|
getDefaultColor("#8A000000", "#B3FFFFFF", "#B3FFFFFF"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getCommentIconAndInfoColor() {
|
public int getCommentIconAndInfoColor() {
|
||||||
return getThemeSharedPreferences().getInt(CustomThemeSharedPreferencesUtils.COMMENT_ICON_AND_INFO_COLOR,
|
return getThemeSharedPreferences().getInt(CustomThemeSharedPreferencesUtils.COMMENT_ICON_AND_INFO_COLOR,
|
||||||
getDefaultColor("#8A0000", "#FFFFFF", "#B3FFFF"));
|
getDefaultColor("#8A000000", "#B3FFFFFF", "#B3FFFFFF"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getToolbarPrimaryTextAndIconColor() {
|
public int getToolbarPrimaryTextAndIconColor() {
|
||||||
|
Loading…
Reference in New Issue
Block a user