mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-30 21:07:11 +01:00
Fix text color in SetAsWallpaperBottomSheet.
This commit is contained in:
parent
72f176201e
commit
ab14405b77
@ -99,8 +99,6 @@ public class ViewImageOrGifActivity extends AppCompatActivity implements SetAsWa
|
|||||||
|
|
||||||
((Infinity) getApplication()).getAppComponent().inject(this);
|
((Infinity) getApplication()).getAppComponent().inject(this);
|
||||||
|
|
||||||
getTheme().applyStyle(R.style.Theme_Normal, true);
|
|
||||||
|
|
||||||
getTheme().applyStyle(FontStyle.valueOf(mSharedPreferences
|
getTheme().applyStyle(FontStyle.valueOf(mSharedPreferences
|
||||||
.getString(SharedPreferencesUtils.FONT_SIZE_KEY, FontStyle.Normal.name())).getResId(), true);
|
.getString(SharedPreferencesUtils.FONT_SIZE_KEY, FontStyle.Normal.name())).getResId(), true);
|
||||||
|
|
||||||
|
@ -89,8 +89,6 @@ public class ViewImgurMediaActivity extends AppCompatActivity implements SetAsWa
|
|||||||
|
|
||||||
((Infinity) getApplication()).getAppComponent().inject(this);
|
((Infinity) getApplication()).getAppComponent().inject(this);
|
||||||
|
|
||||||
getTheme().applyStyle(R.style.Theme_Normal, true);
|
|
||||||
|
|
||||||
getTheme().applyStyle(FontStyle.valueOf(sharedPreferences
|
getTheme().applyStyle(FontStyle.valueOf(sharedPreferences
|
||||||
.getString(SharedPreferencesUtils.FONT_SIZE_KEY, FontStyle.Normal.name())).getResId(), true);
|
.getString(SharedPreferencesUtils.FONT_SIZE_KEY, FontStyle.Normal.name())).getResId(), true);
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
android:paddingStart="32dp"
|
android:paddingStart="32dp"
|
||||||
android:paddingEnd="32dp"
|
android:paddingEnd="32dp"
|
||||||
android:text="@string/set_to_home_screen"
|
android:text="@string/set_to_home_screen"
|
||||||
android:textColor="?attr/primaryTextColor"
|
android:textColor="@color/primaryTextColor"
|
||||||
android:textSize="?attr/font_default"
|
android:textSize="?attr/font_default"
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
android:drawableStart="@drawable/ic_wallpaper_home_screen_black_24dp"
|
android:drawableStart="@drawable/ic_wallpaper_home_screen_black_24dp"
|
||||||
@ -40,7 +40,7 @@
|
|||||||
android:paddingStart="32dp"
|
android:paddingStart="32dp"
|
||||||
android:paddingEnd="32dp"
|
android:paddingEnd="32dp"
|
||||||
android:text="@string/set_to_lock_screen"
|
android:text="@string/set_to_lock_screen"
|
||||||
android:textColor="?attr/primaryTextColor"
|
android:textColor="@color/primaryTextColor"
|
||||||
android:textSize="?attr/font_default"
|
android:textSize="?attr/font_default"
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
android:drawableStart="@drawable/ic_wallpaper_lock_screen_black_24dp"
|
android:drawableStart="@drawable/ic_wallpaper_lock_screen_black_24dp"
|
||||||
@ -60,7 +60,7 @@
|
|||||||
android:paddingStart="32dp"
|
android:paddingStart="32dp"
|
||||||
android:paddingEnd="32dp"
|
android:paddingEnd="32dp"
|
||||||
android:text="@string/set_to_both"
|
android:text="@string/set_to_both"
|
||||||
android:textColor="?attr/primaryTextColor"
|
android:textColor="@color/primaryTextColor"
|
||||||
android:textSize="?attr/font_default"
|
android:textSize="?attr/font_default"
|
||||||
android:fontFamily="?attr/font_family"
|
android:fontFamily="?attr/font_family"
|
||||||
android:drawableStart="@drawable/ic_wallpaper_both_black_24dp"
|
android:drawableStart="@drawable/ic_wallpaper_both_black_24dp"
|
||||||
|
@ -8,4 +8,5 @@
|
|||||||
<color name="backgroundColor">#121212</color>
|
<color name="backgroundColor">#121212</color>
|
||||||
<color name="playButtonBackgroundColor">#FFFFFF</color>
|
<color name="playButtonBackgroundColor">#FFFFFF</color>
|
||||||
<color name="roundedBottomSheetPrimaryBackground">#242424</color>
|
<color name="roundedBottomSheetPrimaryBackground">#242424</color>
|
||||||
|
<color name="primaryTextColor">#FFFFFF</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -9,4 +9,5 @@
|
|||||||
<color name="playButtonBackgroundColor">#000000</color>
|
<color name="playButtonBackgroundColor">#000000</color>
|
||||||
<color name="roundedBottomSheetPrimaryBackground">#FFFFFF</color>
|
<color name="roundedBottomSheetPrimaryBackground">#FFFFFF</color>
|
||||||
<color name="roundedBottomSheetPrimaryNavigationBarColor">#000000</color>
|
<color name="roundedBottomSheetPrimaryNavigationBarColor">#000000</color>
|
||||||
|
<color name="primaryTextColor">#000000</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
Reference in New Issue
Block a user