[ios] fix: "place does not exist" alert text color

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
This commit is contained in:
Kiryl Kaveryn 2024-02-27 12:51:13 +04:00 committed by Viktor Govako
parent d4214f53ad
commit 765f6feb12
3 changed files with 10 additions and 5 deletions

View file

@ -62,7 +62,7 @@
<constraint firstItem="xlp-ke-FxI" firstAttribute="height" secondItem="otE-Ct-TPM" secondAttribute="height" id="tj3-TS-dmp"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="string" keyPath="styleName" value="AlertViewTextField"/>
<userDefinedRuntimeAttribute type="string" keyPath="styleName" value="AlertViewTextFieldContainer"/>
</userDefinedRuntimeAttributes>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uxx-Di-f1Q" userLabel="hDivider">

View file

@ -58,9 +58,8 @@
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="string" keyPath="styleName" value="regular14:blackPrimaryText"/>
<userDefinedRuntimeAttribute type="string" keyPath="styleName" value="AlertViewTextField"/>
<userDefinedRuntimeAttribute type="string" keyPath="localizedPlaceholder" value="editor_comment_hint"/>
<userDefinedRuntimeAttribute type="string" keyPath="styleName" value="Background"/>
</userDefinedRuntimeAttributes>
</textField>
</subviews>
@ -73,7 +72,7 @@
<constraint firstItem="0f8-vD-nJT" firstAttribute="height" secondItem="npf-dH-f50" secondAttribute="height" id="zHi-xB-aCQ"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="string" keyPath="styleName" value="AlertViewTextField"/>
<userDefinedRuntimeAttribute type="string" keyPath="styleName" value="AlertViewTextFieldContainer"/>
</userDefinedRuntimeAttributes>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kEx-DM-ynC" userLabel="hDivider">

View file

@ -183,12 +183,18 @@ class GlobalStyleSheet: IStyleSheet {
s.clip = true
}
theme.add(styleName: "AlertViewTextField") { (s) -> (Void) in
theme.add(styleName: "AlertViewTextFieldContainer") { (s) -> (Void) in
s.borderColor = colors.blackDividers
s.borderWidth = 0.5
s.backgroundColor = colors.white
}
theme.add(styleName: "AlertViewTextField") { (s) -> Void in
s.font = fonts.regular14
s.fontColor = colors.blackPrimaryText
s.tintColor = colors.blackSecondaryText
}
theme.add(styleName: "SearchStatusBarView") { (s) -> (Void) in
s.backgroundColor = colors.primary
s.shadowRadius = 2