feat: Add bulk edit options (WIP)

This commit is contained in:
Anton Stubenbord
2023-03-11 18:39:27 +01:00
parent c7b5298845
commit 81822f5897
8 changed files with 431 additions and 17 deletions

View File

@@ -9,8 +9,8 @@ import 'package:paperless_mobile/features/labels/storage_path/view/widgets/stora
import 'package:paperless_mobile/generated/l10n/app_localizations.dart';
class AddStoragePathPage extends StatelessWidget {
final String? initalValue;
const AddStoragePathPage({Key? key, this.initalValue}) : super(key: key);
final String? initalName;
const AddStoragePathPage({Key? key, this.initalName}) : super(key: key);
@override
Widget build(BuildContext context) {
@@ -21,7 +21,7 @@ class AddStoragePathPage extends StatelessWidget {
child: AddLabelPage<StoragePath>(
pageTitle: Text(S.of(context)!.addStoragePath),
fromJsonT: StoragePath.fromJson,
initialName: initalValue,
initialName: initalName,
additionalFields: const [
StoragePathAutofillFormBuilderField(name: StoragePath.pathKey),
SizedBox(height: 120.0),