feat:update toast text
This commit is contained in:
parent
d56281a77f
commit
6b8fd4d540
@ -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:@""
|
||||||
|
Reference in New Issue
Block a user