mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-09 06:07:54 -06:00
feat: Allow empty document titles, fix saved view routes not being accessible
This commit is contained in:
@@ -351,7 +351,7 @@ class _InboxItemState extends State<InboxItem> {
|
||||
|
||||
Text _buildTitle() {
|
||||
return Text(
|
||||
widget.document.title ?? '-',
|
||||
widget.document.title.isEmpty ? '-' : widget.document.title,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
maxLines: 2,
|
||||
style: Theme.of(context).textTheme.titleSmall,
|
||||
|
||||
Reference in New Issue
Block a user