mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-21 20:55:41 +03:00
spotlessApply
my beloved
This commit is contained in:
parent
4ee31bfea5
commit
6c6ea84509
1 changed files with 3 additions and 1 deletions
|
@ -88,7 +88,9 @@ class MangaScreen(
|
||||||
val haptic = LocalHapticFeedback.current
|
val haptic = LocalHapticFeedback.current
|
||||||
val scope = rememberCoroutineScope()
|
val scope = rememberCoroutineScope()
|
||||||
val lifecycleOwner = LocalLifecycleOwner.current
|
val lifecycleOwner = LocalLifecycleOwner.current
|
||||||
val screenModel = rememberScreenModel { MangaScreenModel(context, lifecycleOwner.lifecycle, mangaId, fromSource) }
|
val screenModel = rememberScreenModel {
|
||||||
|
MangaScreenModel(context, lifecycleOwner.lifecycle, mangaId, fromSource)
|
||||||
|
}
|
||||||
|
|
||||||
val state by screenModel.state.collectAsStateWithLifecycle()
|
val state by screenModel.state.collectAsStateWithLifecycle()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue