浏览代码

codacy: This statement should have braces

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 6 年之前
父节点
当前提交
cd1469317d
共有 1 个文件被更改,包括 3 次插入1 次删除
  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());