Skip to content

Commit

Permalink
Revert com.google.android.material:material upgrade
Browse files Browse the repository at this point in the history
1.11.0-alpha03 -> 1.11.0-alpha01
  • Loading branch information
therealsujitk committed Oct 12, 2023
1 parent 4fa5955 commit 94f8723
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dependencies {
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'

implementation platform('com.google.firebase:firebase-bom:31.1.0')
implementation 'com.google.android.material:material:1.11.0-alpha03'
implementation 'com.google.android.material:material:1.11.0-alpha01'
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.firebase:firebase-crashlytics'
implementation 'com.google.firebase:firebase-perf'
Expand Down
15 changes: 1 addition & 14 deletions app/src/main/res/values-night/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,8 @@
<item name="android:fontFamily">@font/rubik</item>
</style>

<style name="ThemeOverlay.VTOP.Amoled.Base" parent="ThemeOverlay.Material3.DynamicColors.DayNight">
<style name="ThemeOverlay.VTOP.Amoled" parent="ThemeOverlay.Material3.DynamicColors.DayNight">
<item name="android:windowBackground">#000000</item>
<item name="colorSurfaceContainer">#000000</item>
<item name="colorSurfaceContainerLow">#000000</item>
<item name="colorSurfaceContainerHigh">#000000</item>
<item name="colorSurfaceContainerLowest">#000000</item>
<item name="colorSurfaceContainerHighest">#000000</item>
<item name="colorSurface">#000000</item>
<item name="colorSurfaceDim">#000000</item>
<item name="colorSurfaceBright">#000000</item>
</style>

<!-- Workaround for Bug #3622 - https://github.com/material-components/material-components-android/issues/3622
To be reverted once com.google.android.material:material is upgraded to 1.11.0-beta01 or higher -->
<style name="ThemeOverlay.VTOP.Amoled" parent="ThemeOverlay.Material3.DynamicColors.DayNight">
<item name="contrastColorThemeOverlay">@style/ThemeOverlay.VTOP.Amoled.Base</item>
</style>
</resources>

0 comments on commit 94f8723

Please sign in to comment.