mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 11:22:12 +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() {
|
||||
withContext(Dispatchers.Default) {
|
||||
withContext(Dispatchers.Main) {
|
||||
val showPackageName = recyclerView
|
||||
?.let { (it.layoutManager as LinearLayoutManager).findFirstVisibleItemPosition() != 0 } == true
|
||||
collapsingToolbar.title =
|
||||
|
Loading…
x
Reference in New Issue
Block a user