修改bug

This commit is contained in:
2026-02-11 21:09:37 +08:00
parent c9743cb363
commit 5c273c3963
5 changed files with 15 additions and 3 deletions

View File

@@ -182,7 +182,7 @@
- (UILabel *)titleLabel {
if (!_titleLabel) {
_titleLabel = [UILabel new];
_titleLabel.text = @"Modify Gender";
_titleLabel.text = KBLocalized(@"Modify Gender");
_titleLabel.textColor = [UIColor blackColor];
_titleLabel.font = [KBFont medium:16];
}
@@ -226,7 +226,7 @@
- (UIButton *)saveButton {
if (!_saveButton) {
_saveButton = [UIButton buttonWithType:UIButtonTypeCustom];
[_saveButton setTitle:@"Save" forState:UIControlStateNormal];
[_saveButton setTitle:KBLocalized(@"Save") forState:UIControlStateNormal];
[_saveButton setTitleColor:UIColor.whiteColor forState:UIControlStateNormal];
_saveButton.titleLabel.font = [KBFont medium:16];
_saveButton.backgroundColor = [UIColor colorWithRed:0.02 green:0.75 blue:0.67 alpha:1.0];