Various fixes

This commit is contained in:
Ilya Laktyushin
2019-10-17 15:22:44 +03:00
parent 7c0c73d9bf
commit 4da3336dfb
47 changed files with 4143 additions and 3554 deletions

View File

@@ -49,7 +49,7 @@ public final class SegmentedControlTheme: Equatable {
public extension SegmentedControlTheme {
convenience init(theme: PresentationTheme) {
self.init(backgroundColor: theme.rootController.navigationSearchBar.inputFillColor, foregroundColor: theme.rootController.navigationBar.backgroundColor, shadowColor: .black, textColor: theme.rootController.navigationBar.primaryTextColor, dividerColor: theme.list.freeInputField.strokeColor)
self.init(backgroundColor: theme.rootController.navigationBar.segmentedBackgroundColor, foregroundColor: theme.rootController.navigationBar.segmentedForegroundColor, shadowColor: .black, textColor: theme.rootController.navigationBar.segmentedTextColor, dividerColor: theme.rootController.navigationBar.segmentedDividerColor)
}
}