File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -110,13 +110,13 @@ final class AppListModel: ObservableObject {
110110 private static func fetchApplications( _ hasTrollRecorder: inout Bool , _ unsupportedCount: inout Int ) -> [ App ] {
111111 let allApps : [ App ] = LSApplicationWorkspace . default ( )
112112 . allApplications ( )
113- . compactMap {
114- guard let id = $0 . applicationIdentifier ( ) ,
115- let url = $0 . bundleURL ( ) ,
116- let teamID = $0 . teamID ( ) ,
117- let appType = $0 . applicationType ( ) ,
118- let localizedName = $0 . localizedName ( ) ,
119- let shortVersionString = $0 . shortVersionString ( )
113+ . compactMap { proxy in
114+ guard let id = proxy . applicationIdentifier ( ) ,
115+ let url = proxy . bundleURL ( ) ,
116+ let teamID = proxy . teamID ( ) ,
117+ let appType = proxy . applicationType ( ) ,
118+ let localizedName = proxy . localizedName ( ) ,
119+ let shortVersionString = proxy . shortVersionString ( )
120120 else {
121121 return nil
122122 }
@@ -373,7 +373,9 @@ struct AppListView: View {
373373 if #available( iOS 15 . 0 , * ) {
374374 appList
375375 . refreshable {
376- vm. reload ( )
376+ withAnimation {
377+ vm. reload ( )
378+ }
377379 }
378380 . searchable (
379381 text: $vm. filter. searchKeyword,
Original file line number Diff line number Diff line change 2828- (NSArray <LSPlugInKitProxy *> *)plugInKitPlugins ;
2929
3030- (BOOL )isRemoveableSystemApp ;
31+ - (BOOL )isRemovedSystemApp ;
3132
3233@end
3334
You can’t perform that action at this time.
0 commit comments