Marino Faggiana 6 년 전
부모
커밋
0a5f022ab4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      iOSClient/AppDelegate.m

+ 1 - 1
iOSClient/AppDelegate.m

@@ -959,7 +959,7 @@
     if (self.maintenanceMode)
         return;
     
-    UIView *view = [[(UIButton *)sender superview] superview];
+    UIView *view = [(UIButton *)sender superview];
     
     NCCreateMenuAdd *menuAdd = [[NCCreateMenuAdd alloc] initWithThemingColor:[NCBrandColor sharedInstance].brandElement];
     [menuAdd createMenuWithViewController:self.window.rootViewController view:view];