codacy: This statement should have braces

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2019-04-10 08:32:32 +02:00
parent 73aea003ec
commit cd1469317d
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

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