Skip to content

Commit

Permalink
[Style] #473 - Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jim4020key committed Jul 24, 2023
1 parent 2d7c12b commit 2db1839
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ final class ReadShortcutViewModel: ObservableObject {
shortcutsZipViewModel.updateNumberOfDownload(shortcut: shortcut, downloadlinkIndex: index)
}

func onViewDissapear() {
func onViewDisappear() {
if isMyLike != isMyFirstLike {
shortcutsZipViewModel.updateNumberOfLike(isMyLike: isMyLike, shortcut: shortcut)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ struct ReadShortcutView: View {
UINavigationBar.appearance().standardAppearance.configureWithTransparentBackground()
}
.onDisappear {
viewModel.onViewDissapear()
viewModel.onViewDisappear()
}
.alert(TextLiteral.readShortcutViewDeletionTitle, isPresented: $viewModel.isDeletingShortcut) {
Button(role: .cancel) {
Expand Down

0 comments on commit 2db1839

Please sign in to comment.