feat:update toast text

This commit is contained in:
pengfeizhou 2021-02-24 19:14:15 +08:00 committed by osborn
parent d56281a77f
commit 6b8fd4d540

View File

@ -187,7 +187,7 @@ - (void)input {
if (self.isSimulator) { if (self.isSimulator) {
NSString *result = @"127.0.0.1"; NSString *result = @"127.0.0.1";
[[DoricDev instance] connectDevKit:[NSString stringWithFormat:@"ws://%@:7777", result]]; [[DoricDev instance] connectDevKit:[NSString stringWithFormat:@"ws://%@:7777", result]];
ShowToast([NSString stringWithFormat:@"Connected to %@", result], DoricGravityBottom); ShowToast([NSString stringWithFormat:@"Connecting to %@", result], DoricGravityBottom);
} else { } else {
UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"Please input devkit ip" UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"Please input devkit ip"
message:@"" message:@""