ui: fix black theme visual bug

Fix a visual bug with transitions in the black theme.
This commit is contained in:
Alexander Capehart 2022-10-18 19:49:27 -06:00
parent 60e54abfe9
commit f4d25f81cc
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47
4 changed files with 5 additions and 2 deletions

View file

@ -29,6 +29,8 @@
audio focus was lost
- Fixed issue where the app would crash if a song menu in the genre UI was opened
- Fixed issue where the artist name would not be shown in the OS audio switcher menu
- Fixed issue where the search view would not update if the library changed
- Fixed visual bug with transitions in the black theme
#### What's Changed
- Ignore MediaStore tags is now on by default

View file

@ -136,8 +136,6 @@ class Indexer {
* complete, a new completion state will be pushed to each callback.
*/
suspend fun index(context: Context) {
delay(2000)
val notGranted =
ContextCompat.checkSelfPermission(context, PERMISSION_READ_AUDIO) ==
PackageManager.PERMISSION_DENIED

View file

@ -188,6 +188,8 @@ class PlaybackService :
// Communicate using PlaybackStateManager, SettingsManager, or Broadcasts instead.
override fun onBind(intent: Intent): IBinder? = null
// TODO: Implement task removal (Have to radically alter state saving to occur at runtime)
override fun onDestroy() {
super.onDestroy()

View file

@ -6,6 +6,7 @@
android:name="androidx.navigation.fragment.NavHostFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorSurface"
app:defaultNavHost="true"
app:navGraph="@navigation/nav_main"
tools:layout="@layout/fragment_main" />