From: Damyan Ivanov Date: Thu, 6 May 2021 19:42:53 +0000 (+0300) Subject: whitespace X-Git-Tag: v0.19.0~22 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=99e70e3030eefa70be9fe5d71e8f858a991b987b;p=mobile-ledger.git whitespace --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplateDetailsViewModel.java b/app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplateDetailsViewModel.java index 8836f10d..9a4682d9 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplateDetailsViewModel.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplateDetailsViewModel.java @@ -215,7 +215,8 @@ public class TemplateDetailsViewModel extends ViewModel { .asHeaderItem(); modelHeader.setName(Misc.trim(modelHeader.getName())); - if (modelHeader.getName().isEmpty()) + if (modelHeader.getName() + .isEmpty()) modelHeader.setName(getDefaultTemplateName()); TemplateHeaderDAO headerDAO = DB.get()