Skip to content

Commit

Permalink
Settings: onAppear changed to onDisappear (#2817) (#2820)
Browse files Browse the repository at this point in the history
Task/Issue URL: https://app.asana.com/0/414709148257752/1207214261396124/f
CC: @samsymons @tomasstrba

Description:
Settings event triggers fixed - Already approved and merged to main
  • Loading branch information
afterxleep authored May 3, 2024
1 parent 77a3045 commit c1461ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DuckDuckGo/SettingsRootView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ struct SettingsRootView: View {
viewModel.onAppear()
}

.onAppear {
.onDisappear {
viewModel.onDissapear()
}

Expand Down
2 changes: 1 addition & 1 deletion DuckDuckGo/SettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ struct SettingsView: View {
viewModel.onAppear()
}

.onAppear {
.onDisappear {
viewModel.onDissapear()
}

Expand Down

0 comments on commit c1461ef

Please sign in to comment.