Marino Faggiana 6 gadi atpakaļ
vecāks
revīzija
0a5f022ab4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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];