|
|
@@ -79,7 +79,8 @@
|
|
|
|
|
|
|
|
|
[_netButton mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
- make.width.mas_equalTo(58);
|
|
|
+ //make.width.mas_equalTo(58);
|
|
|
+ make.width.mas_equalTo(70);
|
|
|
make.height.mas_equalTo(24);
|
|
|
make.right.mas_equalTo(-16);
|
|
|
make.centerY.mas_equalTo(TipImageV.mas_centerY).offset(0);
|
|
|
@@ -437,6 +438,12 @@
|
|
|
if(![connectDeviceManager shareInstance].isPingOk){
|
|
|
NetButText = NSLocalizedString(@"mine_net_WAN",nil);
|
|
|
}
|
|
|
+
|
|
|
+ if([webSocketManager shareInstance].commandChannelManager.rc_socketStatus != RCSocketCloudPhoneStatusConnected
|
|
|
+ || [webSocketManager shareInstance].commandChannelManager.rc_socketStatus != RCSocketCloudPhoneStatusReceived)
|
|
|
+ {
|
|
|
+ NetButText = NSLocalizedString(@"mine_net_unLink",nil);
|
|
|
+ }
|
|
|
|
|
|
[_netButton setTitle:NetButText forState:UIControlStateNormal];
|
|
|
}
|