Fix scroll thumb visibility issue
Fix a problem where the scroll thumb would briefly show up when SongsFragment is first shown.
This commit is contained in:
parent
fefe2d244d
commit
c9f86436c8
2 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
android:icon="@mipmap/ic_launcher"
|
||||
android:launchMode="singleInstance"
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:exported="true"
|
||||
android:windowSoftInputMode="adjustPan">
|
||||
|
||||
<intent-filter>
|
||||
|
|
|
@ -66,7 +66,12 @@ class CobaltScrollThumb @JvmOverloads constructor(
|
|||
}
|
||||
}
|
||||
|
||||
isVisible = false
|
||||
isActivated = false
|
||||
|
||||
post {
|
||||
isVisible = true
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue