From 413b74eb37fa6b9e7ae38b22e8d777a74bd7a972 Mon Sep 17 00:00:00 2001
From: Davin <591807572@qq.com>
Date: 星期三, 21 六月 2023 15:09:03 +0800
Subject: [PATCH] feature 门锁历史记录UI调整
---
EZSDK/EZSDK/EZ/UIViewControllers/EZWifiInfoViewController.m | 20 +++++++++++++++++++-
1 files changed, 19 insertions(+), 1 deletions(-)
diff --git a/EZSDK/EZSDK/EZ/UIViewControllers/EZWifiInfoViewController.m b/EZSDK/EZSDK/EZ/UIViewControllers/EZWifiInfoViewController.m
index 547eb2d..9ee20c1 100644
--- a/EZSDK/EZSDK/EZ/UIViewControllers/EZWifiInfoViewController.m
+++ b/EZSDK/EZSDK/EZ/UIViewControllers/EZWifiInfoViewController.m
@@ -11,6 +11,7 @@
#import "DDKit.h"
#import "EZWifiConfigViewController.h"
#import "EZAPWiFiConfigViewController.h"
+#import "GlobalKit.h"
#define WIFI_PREFROOT_URL @"prefs:root=WIFI"
#define WIFI_IOS10_WIFI_URL @"App-Prefs:root=WIFI"
@@ -49,6 +50,15 @@
[self.nameTextField dd_addCornerRadius:4.0f lineColor:[UIColor lightGrayColor]];
[self.passwordTextField dd_addCornerRadius:4.0f lineColor:[UIColor lightGrayColor]];
[self.nextButton dd_addCornerRadius:19.0 lineColor:[UIColor dd_hexStringToColor:@"0x1b9ee2"]];
+
+ self.tipsLabel.text=HDLEZLocallizedString(@"wifi_config_step_2_tips");
+ self.tipsLabel.adjustsFontSizeToFitWidth=YES;
+
+ [self.nextButton setTitle:HDLEZLocallizedString(@"wifi_config_step_2_next_step") forState:UIControlStateNormal];
+
+ self.nameLabel.text=HDLEZLocallizedString(@"wifi_config_step_2_net");
+ self.passwordLabel.text=HDLEZLocallizedString(@"wifi_config_step_2_password");
+
}
- (void) viewWillAppear:(BOOL)animated
@@ -94,6 +104,7 @@
for (NSString *ifnam in interfaces)
{
NSDictionary *info = CFBridgingRelease(CNCopyCurrentNetworkInfo((__bridge CFStringRef)ifnam));
+ HDLEZLog(@"info锛�%@",info);
self.nameTextField.text = info[@"SSID"];
break;
}
@@ -230,7 +241,14 @@
- (IBAction)nextAction:(id)sender
{
- [self showModeSelect];
+ if ([GlobalKit shareKit].deviceType==HDLEZDeviceType_Door) {//涓洪棬閿�
+ //鐑偣閰嶇綉
+ [self performSegueWithIdentifier:@"go2APWifiConfig" sender:nil];
+ }else{
+ [self showModeSelect];
+ }
+
+
}
@end
--
Gitblit v1.8.0