Skip to content

Commit

Permalink
Prevent displaying AppSettings content until self is non-null.
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-signal authored and greyson-signal committed Nov 21, 2024
1 parent f5db6b6 commit a9c37a9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ class AppSettingsFragment : ComposeFragment(), Callbacks {
val self by viewModel.self.observeAsState()

if (state == null) return
if (self == null) return

val context = LocalContext.current
val bannerManager = remember {
Expand Down

0 comments on commit a9c37a9

Please sign in to comment.