mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 19:32:16 +00:00
Fix: Soft crash when starting AppDetails
This commit is contained in:
parent
0aee431479
commit
5de01f378c
@ -315,7 +315,7 @@ class AppDetailFragment() : ScreenFragment(), AppDetailAdapter.Callbacks {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private suspend fun updateToolbarTitle() {
|
private suspend fun updateToolbarTitle() {
|
||||||
withContext(Dispatchers.Default) {
|
withContext(Dispatchers.Main) {
|
||||||
val showPackageName = recyclerView
|
val showPackageName = recyclerView
|
||||||
?.let { (it.layoutManager as LinearLayoutManager).findFirstVisibleItemPosition() != 0 } == true
|
?.let { (it.layoutManager as LinearLayoutManager).findFirstVisibleItemPosition() != 0 } == true
|
||||||
collapsingToolbar.title =
|
collapsingToolbar.title =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user