Skip to content

Commit

Permalink
Merge pull request #194 from niscy-eudiw/main
Browse files Browse the repository at this point in the history
Minor correction
  • Loading branch information
stzouvaras authored Oct 15, 2024
2 parents b0fff0e + ed4667b commit f433ee2
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 @@ -56,7 +56,7 @@ final class DocumentOfferInteractorImpl: DocumentOfferInteractor {

if let spec = offer.txCodeSpec,
let codeLength = spec.length,
(!(codeMinLength...codeMaxLength).contains(codeLength) || spec.inputMode == .text) {
!(codeMinLength...codeMaxLength).contains(codeLength) || spec.inputMode == .text {
return .failure(WalletCoreError.transactionCodeFormat(["\(codeMinLength)", "\(codeMaxLength)"]))
}

Expand Down
2 changes: 1 addition & 1 deletion Modules/logic-resources/Sources/Manager/ThemeManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public final class ThemeManager: ThemeManagerProtocol {

nonisolated(unsafe) public static var shared: ThemeProtocol = AppTheme()

public class func config(themeConfiguration: ThemeConfiguration) {
public static func config(themeConfiguration: ThemeConfiguration) {
self.shared = AppTheme(themeConfiguration: themeConfiguration)
}
}

0 comments on commit f433ee2

Please sign in to comment.