Marino Faggiana 6 ani în urmă
părinte
comite
0a5f022ab4
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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];