mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-09 00:07:49 -06:00
Changed loading animation, directly accessible pages and updated translations
This commit is contained in:
@@ -47,7 +47,7 @@ class DocumentSearchDelegate extends m3.SearchDelegate<DocumentModel> {
|
||||
slivers: [
|
||||
SliverToBoxAdapter(
|
||||
child: Text(
|
||||
"History", //TODO: INTL
|
||||
S.of(context).documentSearchHistory,
|
||||
style: Theme.of(context).textTheme.labelMedium,
|
||||
).padded(16),
|
||||
),
|
||||
@@ -111,7 +111,7 @@ class DocumentSearchDelegate extends m3.SearchDelegate<DocumentModel> {
|
||||
slivers: [
|
||||
SliverToBoxAdapter(
|
||||
child: Text(
|
||||
"Results", //TODO: INTL
|
||||
S.of(context).documentSearchResults,
|
||||
style: Theme.of(context).textTheme.labelMedium,
|
||||
).padded(),
|
||||
),
|
||||
|
||||
@@ -4,8 +4,8 @@ import 'package:paperless_mobile/features/document_search/cubit/document_search_
|
||||
import 'package:paperless_mobile/features/document_search/document_search_delegate.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
|
||||
class DocumentSearchAppBar extends StatelessWidget {
|
||||
const DocumentSearchAppBar({
|
||||
class DocumentSearchBar extends StatelessWidget {
|
||||
const DocumentSearchBar({
|
||||
super.key,
|
||||
});
|
||||
|
||||
@@ -34,7 +34,7 @@ class DocumentSearchAppBar extends StatelessWidget {
|
||||
borderSide: BorderSide.none,
|
||||
),
|
||||
prefixIcon: IconButton(
|
||||
icon: const Icon(Icons.menu),
|
||||
icon: const Icon(Icons.search),
|
||||
onPressed: () {
|
||||
Scaffold.of(context).openDrawer();
|
||||
},
|
||||
Reference in New Issue
Block a user