Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2738558a authored by Niedermann IT-Dienstleistungen's avatar Niedermann IT-Dienstleistungen
Browse files

#397 Don't show "Uncategorized" in note header

parent 5203698f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -198,8 +198,9 @@ public class EditNoteActivity extends AppCompatActivity implements BaseNoteFragm
        ActionBar actionBar = getSupportActionBar();
        if (actionBar != null) {
            actionBar.setTitle(note.getTitle());
            String subtitle = note.getCategory().isEmpty() ? getString(R.string.action_uncategorized) : NoteUtil.extendCategory(note.getCategory());
            actionBar.setSubtitle(subtitle);
            if(!note.getCategory().isEmpty()) {
                actionBar.setSubtitle(NoteUtil.extendCategory(note.getCategory()));
            }
        }
    }
}
 No newline at end of file