style: improve material you usage
My phone has just updated to Android 12, and Auxio looks very out of place compared to the other themed APIs. Improve the usage of Material You on the app icon and the widgets so that they line up a bit more. Can't fully commit though since sometimes the colors can't be replicated or because they don't look very good.
This commit is contained in:
@@ -32,7 +32,7 @@ import org.oxycblt.auxio.ui.SortMode
|
||||
* Wrapper around the [SharedPreferences] class that writes & reads values without a context.
|
||||
* @author OxygenCobalt
|
||||
* TODO: Consider re-adding the colorize notif setting but only on <Android 10 since it really
|
||||
* doesn't work on Android 11+
|
||||
* doesn't work on Android 11+
|
||||
*/
|
||||
class SettingsManager private constructor(context: Context) :
|
||||
SharedPreferences.OnSharedPreferenceChangeListener {
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
package org.oxycblt.auxio.settings.tabs
|
||||
|
||||
import org.oxycblt.auxio.ui.DisplayMode
|
||||
import org.oxycblt.auxio.util.logD
|
||||
import org.oxycblt.auxio.util.logE
|
||||
|
||||
/**
|
||||
@@ -89,8 +88,6 @@ sealed class Tab(open val mode: DisplayMode) {
|
||||
for (shift in (0..4 * SEQUENCE_LEN).reversed() step 4) {
|
||||
val chunk = sequence.shr(shift) and 0b1111
|
||||
|
||||
logD(sequence.shr(shift).toString(2))
|
||||
|
||||
val mode = when (chunk and 7) {
|
||||
0 -> DisplayMode.SHOW_SONGS
|
||||
1 -> DisplayMode.SHOW_ALBUMS
|
||||
|
||||
Reference in New Issue
Block a user