Skip to content

Commit

Permalink
Fix swift lint shorthand_operator
Browse files Browse the repository at this point in the history
  • Loading branch information
levieggertcru committed Jul 16, 2024
1 parent ff65b93 commit ad411ee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ extension LearnToShareToolViewModel {
return
}

currentPage = currentPage - 1
currentPage -= 1
}

@objc func closeTapped() {
Expand All @@ -134,7 +134,7 @@ extension LearnToShareToolViewModel {
flowDelegate?.navigate(step: .continueTappedFromLearnToShareTool(toolId: toolId, primaryLanguage: toolPrimaryLanguage, parallelLanguage: toolParallelLanguage, selectedLanguageIndex: toolSelectedLanguageIndex))
}
else {
currentPage = currentPage + 1
currentPage += 1
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ extension ToolScreenShareTutorialViewModel {
}

private func nextPageTapped() {
currentPage = currentPage + 1
currentPage += 1
}

private func shareLinkTapped() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ extension TutorialViewModel {
@objc func backTapped() {

if !isOnFirstPage {
currentPage = currentPage - 1
currentPage -= 1
}
}

Expand Down Expand Up @@ -196,7 +196,7 @@ extension TutorialViewModel {
flowDelegate?.navigate(step: .startUsingGodToolsTappedFromTutorial)
}
else {
currentPage = currentPage + 1
currentPage += 1
}
}
}

0 comments on commit ad411ee

Please sign in to comment.