fix: typo
This commit is contained in:
parent
a234943394
commit
f3ed27e83f
|
|
@ -37,8 +37,8 @@ open class DefaultPlaceholderLocalizationProvider: PlaceholderLocalizationProvid
|
|||
"common_placeholder_title_empty_state"
|
||||
}
|
||||
|
||||
public static var repeateKey: String {
|
||||
"common_global_repeate"
|
||||
public static var repeatKey: String {
|
||||
"common_global_repeat"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -59,8 +59,8 @@ open class DefaultPlaceholderLocalizationProvider: PlaceholderLocalizationProvid
|
|||
bundle.localizedString(forKey: Defaults.emptyStateKey, value: "The list is empty.", table: tableName)
|
||||
}
|
||||
|
||||
open var repeateButtonTitle: String {
|
||||
bundle.localizedString(forKey: Defaults.repeateKey, value: "Repeate", table: tableName)
|
||||
open var repeatButtonTitle: String {
|
||||
bundle.localizedString(forKey: Defaults.repeatKey, value: "Repeat", table: tableName)
|
||||
}
|
||||
|
||||
// MARK: - Init
|
||||
|
|
|
|||
|
|
@ -24,5 +24,5 @@ public protocol PlaceholderLocalizationProvider {
|
|||
var errorTitle: String { get }
|
||||
var loadingDataErrorTitle: String { get }
|
||||
var emptyStateTitle: String { get }
|
||||
var repeateButtonTitle: String { get }
|
||||
var repeatButtonTitle: String { get }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ open class PlaceholderFactory {
|
|||
}
|
||||
}
|
||||
.withButton { buttonStyle in
|
||||
buttonStyle.titles = [.normal: localizationProvider.repeateButtonTitle]
|
||||
buttonStyle.titles = [.normal: localizationProvider.repeatButtonTitle]
|
||||
buttonStyle.appearance = [.normal: Self.defaultButtonAppearance]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue