From dd29df2e08ac87c878e26513f1b5ae06eae7a6d9 Mon Sep 17 00:00:00 2001
From: Davin <591807572@qq.com>
Date: 星期日, 25 六月 2023 19:54:32 +0800
Subject: [PATCH] feature UI调整

---
 EZSDK/EZSDK/EZ/UIViewControllers/EZSettingViewController.m |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/EZSDK/EZSDK/EZ/UIViewControllers/EZSettingViewController.m b/EZSDK/EZSDK/EZ/UIViewControllers/EZSettingViewController.m
index ad334b8..eb184f6 100644
--- a/EZSDK/EZSDK/EZ/UIViewControllers/EZSettingViewController.m
+++ b/EZSDK/EZSDK/EZ/UIViewControllers/EZSettingViewController.m
@@ -343,7 +343,12 @@
         }];
         __weak __typeof(self)weakSelf = self;
         UIAlertAction *sure=[UIAlertAction actionWithTitle:HDLEZLocallizedString(@"device_temp_sure") style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
-            [UIView dd_showMessage:@"鍔熻兘寮�鍙戜腑..."];
+            [EZOPENSDK formatStorage:self.deviceInfo.deviceSerial
+                        storageIndex:0
+                          completion:^(NSError *error) {
+                NSLog(@"format command error = %@", error);
+                [UIView dd_showMessage:error.description];
+            }];
         }];
         [alert addAction:cancle];
         [alert addAction:sure];

--
Gitblit v1.8.0