minor change

This commit is contained in:
True Zhuanjia
2026-03-22 14:10:42 +08:00
parent dbe91f5b07
commit 31dc13b87d
2 changed files with 3 additions and 3 deletions
@@ -723,7 +723,7 @@ static NSMutableSet* hostList;
- (void) addHostTapped {
Log(LOG_D, @"Tapped add host");
GenericUtils.autoPopSoftKeyboard = GenericUtils.isIPhone ? false : true;
GenericUtils.autoPopSoftKeyboard = !GenericUtils.isIPhone;
UIAlertController* alertController = [UIAlertController alertControllerWithTitle:[LocalizationHelper localizedStringForKey:@"Add Host Manually"]
message:[LocalizationHelper localizedStringForKey:@"Enter IP address to add host manually"]
preferredStyle:UIAlertControllerStyleAlert];
@@ -2231,7 +2231,7 @@ BOOL isCustomResolution(int resolutionSelected) {
}
- (void)showCustomOswTip {
GenericUtils.autoPopSoftKeyboard = GenericUtils.isIPhone ? false : true;
GenericUtils.autoPopSoftKeyboard = !GenericUtils.isIPhone;
NSString* edgeSide = self.slideToSettingsScreenEdgeSelector.selectedSegmentIndex == 1 ? [LocalizationHelper localizedStringForKey:@"left"] : [LocalizationHelper localizedStringForKey:@"right"];
UIAlertController *alertController = [UIAlertController alertControllerWithTitle:[LocalizationHelper localizedStringForKey:@"Rebase in Streaming"]
message:[LocalizationHelper localizedStringForKey:@"Open widget tool in streaming by:\nSliding from %@ screen edge to open cmd tool.\nOr tap %d fingers on stream view, number of fingers required:", edgeSide, self->oswLayoutFingers]
@@ -3191,7 +3191,7 @@ BOOL isCustomResolution(int resolutionSelected) {
}
- (void) promptCustomResolutionDialog {
GenericUtils.autoPopSoftKeyboard = GenericUtils.isIPhone ? false : true;
GenericUtils.autoPopSoftKeyboard = !GenericUtils.isIPhone;
UIAlertController *alertController = [UIAlertController alertControllerWithTitle:[LocalizationHelper localizedStringForKey: @"Enter Custom Resolution"] message:nil preferredStyle:UIAlertControllerStyleAlert];
[alertController addTextFieldWithConfigurationHandler:^(UITextField *textField) {