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];