mirror of
https://github.com/jellyfin/jellyfin-android.git
synced 2026-11-18 03:53:17 +00:00
Fix a rare crash when starting the app
This commit is contained in:
1 parent
c48e537e5e
commit
0de4cbd9f9
1 file changed
+1
-1
@@ -82,7 +82,7 @@ class MainActivity : AppCompatActivity() {
|
||||
}
|
||||
|
||||
// Load UI
|
||||
lifecycleScope.launch {
|
||||
lifecycleScope.launchWhenStarted {
|
||||
mainViewModel.serverState.collect { state ->
|
||||
with(supportFragmentManager) {
|
||||
when (state) {
|
||||
|
||||
Reference in new issue
Block a user