Swiftlint 0.45.0 -> 0.47.0 (#290)

This commit is contained in:
Lukas Korba 2022-04-22 17:24:10 +02:00 committed by GitHub
parent 557aabdd17
commit 7e7ba0d11d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -44,9 +44,9 @@ and create a symbolic link
ln -s /opt/homebrew/bin/swiftgen /usr/local/bin ln -s /opt/homebrew/bin/swiftgen /usr/local/bin
``` ```
## Swiftlint ## Swiftlint
The project is setup to work with `0.45.0` version. We recommend to install it directly using [the official 0.45.0 package](https://github.com/realm/SwiftLint/releases/download/0.45.0/SwiftLint.pkg). If you follow this step there is no symbolic link needed. The project is setup to work with `0.47.0` version. We recommend to install it directly using [the official 0.47.0 package](https://github.com/realm/SwiftLint/releases/download/0.47.0/SwiftLint.pkg). If you follow this step there is no symbolic link needed.
In case you already have swiftlint 0.45.0 ready on your machine and installed via homebrew, create a symbolic link In case you already have swiftlint 0.47.0 ready on your machine and installed via homebrew, create a symbolic link
``` ```
ln -s /opt/homebrew/bin/swiftlint /usr/local/bin ln -s /opt/homebrew/bin/swiftlint /usr/local/bin
``` ```

View File

@ -269,10 +269,10 @@ extension AppReducer {
state.route = .phraseDisplay state.route = .phraseDisplay
case .phraseDisplay(.finishedPressed): case .phraseDisplay(.finishedPressed):
//TODO: Advanced Routing: setting a route may vary depending on the originating context #285 // TODO: Advanced Routing: setting a route may vary depending on the originating context #285
// see https://github.com/zcash/secant-ios-wallet/issues/285 // see https://github.com/zcash/secant-ios-wallet/issues/285
if let storedWallet = try? environment.walletStorage.exportWallet(), if let storedWallet = try? environment.walletStorage.exportWallet(),
storedWallet.hasUserPassedPhraseBackupTest { storedWallet.hasUserPassedPhraseBackupTest {
state.route = .home state.route = .home
} else { } else {
state.route = .phraseValidation state.route = .phraseValidation