mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-09 01:50:30 +00:00
Merge PR #1581: synchronize extension cookie range coverage
# Conflicts: # ui/flutter/test/widget_test.dart
This commit is contained in:
commit
c90c690836
10 files changed
+421
-83
No files matched your search
+1
-1
@@ -201,7 +201,7 @@ Future<DownloadCategoryDraft?> showDownloadCategoryDialog(
|
||||
onPressed: () => shad.closeOverlay(dialogContext),
|
||||
child: Text(dialogContext.l10n.cancel),
|
||||
),
|
||||
AppPrimaryButton(onPressed: submit, child: Text(dialogContext.l10n.confirm)),
|
||||
AppPrimaryButton(onPressed: submit, child: Text(dialogContext.l10n.save)),
|
||||
],
|
||||
);
|
||||
},
|
||||
|
||||
@@ -234,7 +234,7 @@ Future<String?> showTextSettingDialog(
|
||||
}
|
||||
shad.closeOverlay(dialogContext, controller.text.trim());
|
||||
},
|
||||
child: Text(dialogContext.l10n.confirm),
|
||||
child: Text(dialogContext.l10n.save),
|
||||
),
|
||||
],
|
||||
);
|
||||
@@ -321,7 +321,7 @@ Future<GithubMirrorDraft?> showGithubMirrorDialog(BuildContext context, {GithubM
|
||||
}
|
||||
shad.closeOverlay(dialogContext, GithubMirrorDraft(type: selectedType, url: value));
|
||||
},
|
||||
child: Text(dialogContext.l10n.confirm),
|
||||
child: Text(dialogContext.l10n.save),
|
||||
),
|
||||
],
|
||||
);
|
||||
|
||||
@@ -2507,7 +2507,7 @@ void main() {
|
||||
expect(find.text('%date% — Full date (YYYY-MM-DD)'), findsOneWidget);
|
||||
await tester.tap(find.byKey(const ValueKey('path-placeholder-%date%')));
|
||||
await tester.pumpAndSettle();
|
||||
await tester.tap(find.text('Confirm'));
|
||||
await tester.tap(find.text('Save'));
|
||||
await tester.pumpAndSettle();
|
||||
|
||||
expect(find.text('归档'), findsOneWidget);
|
||||
|
||||
Reference in new issue
Block a user