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:
@@ -29,11 +29,11 @@ class DocumentOverviewWidget extends StatelessWidget {
|
||||
final availableLabels = context.watch<LabelRepository>().state;
|
||||
return SliverList.list(
|
||||
children: [
|
||||
if (document.title != null)
|
||||
if (document.title.isNotEmpty)
|
||||
DetailsItem(
|
||||
label: S.of(context)!.title,
|
||||
content: HighlightedText(
|
||||
text: document.title!,
|
||||
text: document.title,
|
||||
highlights: queryString?.split(" ") ?? [],
|
||||
style: Theme.of(context).textTheme.bodyLarge,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user