Skip to content

Commit c7d5ff7

Browse files
committed
Dashboard: pass lifecycleOwner to LifecycleResumeEffect
1 parent daa212d commit c7d5ff7

File tree

1 file changed

+1
-1
lines changed
  • wear/src/main/java/com/thewizrd/simplewear/ui/simplewear

1 file changed

+1
-1
lines changed

wear/src/main/java/com/thewizrd/simplewear/ui/simplewear/Dashboard.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ fun Dashboard(
511511
}
512512
}
513513

514-
LifecycleResumeEffect(Unit) {
514+
LifecycleResumeEffect(Unit, lifecycleOwner = lifecycleOwner) {
515515
// Update statuses
516516
if (!stateRefreshed) {
517517
dashboardViewModel.refreshStatus()

0 commit comments

Comments
 (0)