Skip to content

Commit

Permalink
fix(widgets): update recent saves widget upon login state change
Browse files Browse the repository at this point in the history
  • Loading branch information
Gio2018 committed Feb 3, 2025
1 parent 8796da9 commit 74d5f7a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PocketKit/Sources/PocketKit/Home/Views/HomeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ struct HomeView: View {
.onAppear {
homeActions.trackHomeScreenImpression()
}
.onChange(of: accessService.accessLevel, initial: true) {
homeActions.updateRecentSavesWidget()
}
.contentMargins(.bottom, -32)
.scrollIndicators(.hidden)
.background(Color(.ui.white1))
Expand Down

0 comments on commit 74d5f7a

Please sign in to comment.