chore: remove redundant 10.11 @avilable checks (#31184)
This commit is contained in:
parent
2c10d0fe1b
commit
e07d74cf29
3 changed files with 24 additions and 32 deletions
|
@ -99,10 +99,8 @@ inline void dispatch_sync_main(dispatch_block_t block) {
|
|||
}
|
||||
|
||||
- (void)resignCurrentActivity {
|
||||
if (@available(macOS 10.11, *)) {
|
||||
if (currentActivity_)
|
||||
[currentActivity_ resignCurrent];
|
||||
}
|
||||
if (currentActivity_)
|
||||
[currentActivity_ resignCurrent];
|
||||
}
|
||||
|
||||
- (void)updateCurrentActivity:(NSString*)type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue