From 99e70e3030eefa70be9fe5d71e8f858a991b987b Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Thu, 6 May 2021 22:42:53 +0300 Subject: [PATCH] whitespace --- .../mobileledger/ui/templates/TemplateDetailsViewModel.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() -- 2.39.5