Browse Source

codacy: This statement should have braces

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 6 years ago
parent
commit
cd1469317d
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/main/java/com/owncloud/android/utils/ThemeUtils.java

+ 3 - 1
src/main/java/com/owncloud/android/utils/ThemeUtils.java

@@ -421,7 +421,9 @@ public final class ThemeUtils {
     }
 
     public static void themeDialogActionButton(MaterialButton button) {
-        if (button == null ) return;
+        if (button == null ) {
+            return;
+        }
 
         Context context = button.getContext();
         int accentColor = ThemeUtils.primaryAccentColor(button.getContext());