simplify stage label for session connection

This commit is contained in:
TrueZhuanjia committed 2025-07-29 09:06:31 +08:00
1 parent e37c22b259
commit e416dd5f78
2 files changed
+26 -1

No files matched your search

@@ -504,7 +504,8 @@
_stageLabel = [[UILabel alloc] init];
[_stageLabel setUserInteractionEnabled:NO];
[_stageLabel setText:[NSString stringWithFormat:@"Starting %@...", self.streamConfig.appName]];
// [_stageLabel setText:[NSString stringWithFormat:@"Starting %@...", self.streamConfig.appName]];
[_stageLabel setText: [LocalizationHelper localizedStringForKey:@"Connecting..."]];
[_stageLabel sizeToFit];
_stageLabel.textAlignment = NSTextAlignmentCenter;
_stageLabel.textColor = [UIColor whiteColor];
@@ -1068,6 +1069,7 @@
- (void) stageStarting:(const char*)stageName {
Log(LOG_I, @"Starting %s", stageName);
return;
dispatch_async(dispatch_get_main_queue(), ^{
NSString* lowerCase = [NSString stringWithFormat:@"%s ...", stageName];
NSString* titleCase = [[[lowerCase substringToIndex:1] uppercaseString] stringByAppendingString:[lowerCase substringFromIndex:1]];