Skip to content

Commit b174a8f

Browse files
committed
Removed AppDelegate.h
1 parent 63a31a1 commit b174a8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ios/RNSalesforceChat.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#import "RNSalesforceChat.h"
2-
#import "AppDelegate.h"
2+
//#import "AppDelegate.h"
33

44
@implementation RNSalesforceChat
55

@@ -154,8 +154,8 @@ -(void)session:(id<SCSChatSession>)session didEnd:(SCSChatSessionEndEvent *)endE
154154
UIAlertAction * ok = [UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault handler:nil];
155155
[alert addAction:ok];
156156

157-
AppDelegate * delegate = (AppDelegate*)(UIApplication.sharedApplication.delegate);
158-
[[[delegate window] rootViewController] presentViewController:alert animated:YES completion:nil];
157+
// AppDelegate * delegate = (AppDelegate*)(UIApplication.sharedApplication.delegate);
158+
// [[[delegate window] rootViewController] presentViewController:alert animated:YES completion:nil];
159159
}
160160
}
161161

0 commit comments

Comments
 (0)