Skip to content

Commit e5940c4

Browse files
committed
1.6.5 恢复makeKeyAndVisible调用
1 parent bdf8b18 commit e5940c4

File tree

5 files changed

+12
-13
lines changed

5 files changed

+12
-13
lines changed

LEEAlert.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "LEEAlert"
4-
s.version = "1.6.4"
4+
s.version = "1.6.5"
55
s.summary = "优雅的Alert ActionSheet"
66

77
s.homepage = "https://github.com/lixiang1994/LEEAlert"

LEEAlert/LEEAlert.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
* @brief LEEAlert
1212
*
1313
* @author LEE
14-
* @copyright Copyright © 2016 - 2020年 lee. All rights reserved.
15-
* @version V1.6.4
14+
* @copyright Copyright © 2016 - 2023年 lee. All rights reserved.
15+
* @version V1.6.5
1616
*/
1717

1818
#import <Foundation/Foundation.h>

LEEAlert/LEEAlert.m

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
* @brief LEEAlert
1212
*
1313
* @author LEE
14-
* @copyright Copyright © 2016 - 2020年 lee. All rights reserved.
15-
* @version V1.6.4
14+
* @copyright Copyright © 2016 - 2023年 lee. All rights reserved.
15+
* @version V1.6.5
1616
*/
1717

1818
#import "LEEAlert.h"
@@ -4102,14 +4102,9 @@ - (void)show{
41024102

41034103
if (@available(iOS 13.0, *)) {
41044104
[LEEAlert shareManager].leeWindow.overrideUserInterfaceStyle = self.config.modelUserInterfaceStyle;
4105-
41064105
}
41074106

4108-
if (@available(iOS 16.0, *)) {
4109-
4110-
} else {
4111-
[[LEEAlert shareManager].leeWindow makeKeyAndVisible];
4112-
}
4107+
[[LEEAlert shareManager].leeWindow makeKeyAndVisible];
41134108

41144109
self.isShowing = YES;
41154110
}

LEEAlert/LEEAlertHelper.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
* @brief LEEAlertHelper
1313
*
1414
* @author LEE
15-
* @copyright Copyright © 2016 - 2020年 lee. All rights reserved.
16-
* @version V1.6.4
15+
* @copyright Copyright © 2016 - 2023年 lee. All rights reserved.
16+
* @version V1.6.5
1717
*/
1818

1919
#ifndef LEEAlertHelper_h

UPDATELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11

22
# LEEAlert - 更新日志
33

4+
V1.6.5
5+
==============
6+
恢复`makeKeyAndVisible`调用
7+
48
V1.6.4
59
==============
610
修复对自定义视图产生的影响

0 commit comments

Comments
 (0)