Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Src/Main/Server/Others/LKS_ExportManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ @interface LKS_ExportManager ()
@property(nonatomic, strong) UIDocumentInteractionController *documentController;
#endif

@property(nonatomic, strong) LKS_ExportManagerMaskView *maskView;
@property(nonatomic, strong) LKS_ExportManagerMaskView *lks_maskView;

@end

Expand Down Expand Up @@ -129,11 +129,11 @@ - (void)exportAndShare {

[[NSNotificationCenter defaultCenter] postNotificationName:@"Lookin_WillExport" object:nil];

if (!self.maskView) {
self.maskView = [LKS_ExportManagerMaskView new];
if (!self.lks_maskView) {
self.lks_maskView = [LKS_ExportManagerMaskView new];
}
[visibleVc.view.window addSubview:self.maskView];
self.maskView.frame = visibleVc.view.window.bounds;
[visibleVc.view.window addSubview:self.lks_maskView];
self.lks_maskView.frame = visibleVc.view.window.bounds;

dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
LookinHierarchyInfo *info = [LookinHierarchyInfo exportedInfo];
Expand Down Expand Up @@ -165,7 +165,7 @@ - (void)exportAndShare {
NSString *path = [NSString stringWithFormat:@"%@%@", NSTemporaryDirectory(), fileName];
[data writeToFile:path atomically:YES];

[self.maskView removeFromSuperview];
[self.lks_maskView removeFromSuperview];

if (!self.documentController) {
self.documentController = [UIDocumentInteractionController new];
Expand Down