Fix FilePicker crash
This commit is contained in:
parent
c8b4685fc9
commit
5b7c87ee79
1 changed files with 11 additions and 6 deletions
|
@ -15,6 +15,7 @@
|
||||||
<item name="colorPrimaryDark">@color/light_youtube_dark_color</item>
|
<item name="colorPrimaryDark">@color/light_youtube_dark_color</item>
|
||||||
<item name="colorAccent">@color/light_settings_accent_color</item>
|
<item name="colorAccent">@color/light_settings_accent_color</item>
|
||||||
|
|
||||||
|
<item name="actionColor">@color/white</item>
|
||||||
<item name="nnf_toolbarTheme">@style/ToolbarTheme</item>
|
<item name="nnf_toolbarTheme">@style/ToolbarTheme</item>
|
||||||
|
|
||||||
<item name="android:windowBackground">@color/light_background_color</item>
|
<item name="android:windowBackground">@color/light_background_color</item>
|
||||||
|
@ -23,17 +24,12 @@
|
||||||
<item name="alertDialogTheme">@style/FilePickerAlertDialogThemeLight</item>
|
<item name="alertDialogTheme">@style/FilePickerAlertDialogThemeLight</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="FilePickerAlertDialogThemeLight" parent="Theme.AppCompat.DayNight.Dialog.Alert">
|
|
||||||
<item name="colorPrimary">@color/light_youtube_primary_color</item>
|
|
||||||
<item name="colorPrimaryDark">@color/light_youtube_dark_color</item>
|
|
||||||
<item name="colorAccent">@color/light_settings_accent_color</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="FilePickerThemeDark" parent="NNF_BaseTheme">
|
<style name="FilePickerThemeDark" parent="NNF_BaseTheme">
|
||||||
<item name="colorPrimary">@color/dark_youtube_primary_color</item>
|
<item name="colorPrimary">@color/dark_youtube_primary_color</item>
|
||||||
<item name="colorPrimaryDark">@color/dark_youtube_dark_color</item>
|
<item name="colorPrimaryDark">@color/dark_youtube_dark_color</item>
|
||||||
<item name="colorAccent">@color/dark_settings_accent_color</item>
|
<item name="colorAccent">@color/dark_settings_accent_color</item>
|
||||||
|
|
||||||
|
<item name="actionColor">@color/white</item>
|
||||||
<item name="nnf_toolbarTheme">@style/ToolbarTheme</item>
|
<item name="nnf_toolbarTheme">@style/ToolbarTheme</item>
|
||||||
|
|
||||||
<item name="android:windowBackground">@color/dark_background_color</item>
|
<item name="android:windowBackground">@color/dark_background_color</item>
|
||||||
|
@ -42,6 +38,12 @@
|
||||||
<item name="alertDialogTheme">@style/FilePickerAlertDialogThemeDark</item>
|
<item name="alertDialogTheme">@style/FilePickerAlertDialogThemeDark</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="FilePickerAlertDialogThemeLight" parent="Theme.AppCompat.DayNight.Dialog.Alert">
|
||||||
|
<item name="colorPrimary">@color/light_youtube_primary_color</item>
|
||||||
|
<item name="colorPrimaryDark">@color/light_youtube_dark_color</item>
|
||||||
|
<item name="colorAccent">@color/light_settings_accent_color</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
<style name="FilePickerAlertDialogThemeDark" parent="Theme.AppCompat.DayNight.Dialog.Alert">
|
<style name="FilePickerAlertDialogThemeDark" parent="Theme.AppCompat.DayNight.Dialog.Alert">
|
||||||
<item name="colorPrimary">@color/dark_youtube_primary_color</item>
|
<item name="colorPrimary">@color/dark_youtube_primary_color</item>
|
||||||
<item name="colorPrimaryDark">@color/dark_youtube_dark_color</item>
|
<item name="colorPrimaryDark">@color/dark_youtube_dark_color</item>
|
||||||
|
@ -66,6 +68,9 @@
|
||||||
|
|
||||||
<style name="DarkPopupMenu" parent="ThemeOverlay.AppCompat.Dark.ActionBar"/>
|
<style name="DarkPopupMenu" parent="ThemeOverlay.AppCompat.Dark.ActionBar"/>
|
||||||
|
|
||||||
|
<style name="BaseToolbarTheme" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
|
||||||
|
<item name="popupTheme">@style/ThemeOverlay.AppCompat.DayNight.ActionBar</item>
|
||||||
|
</style>
|
||||||
<style name="ToolbarTheme" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
|
<style name="ToolbarTheme" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
|
||||||
<item name="popupTheme">@style/ThemeOverlay.AppCompat.DayNight.ActionBar</item>
|
<item name="popupTheme">@style/ThemeOverlay.AppCompat.DayNight.ActionBar</item>
|
||||||
<item name="android:textColorPrimary">?attr/actionColor</item>
|
<item name="android:textColorPrimary">?attr/actionColor</item>
|
||||||
|
|
Loading…
Reference in a new issue