use outlined edit icon

This commit is contained in:
Vadim 2024-11-11 16:05:34 +01:00
parent 491331f9be
commit 495d7a9cd1
3 changed files with 4 additions and 4 deletions

View file

@ -70,7 +70,7 @@ void testE2E(String description) {
await tester.saveEdits();
/// Create Praktica + Jupiter profile from Zenitar profile
await tester.tap(find.byIcon(Icons.edit));
await tester.tap(find.byIcon(Icons.edit_outlined));
await tester.pumpAndSettle();
await tester.tap(find.byIcon(Icons.copy_outlined).first);
await tester.pumpAndSettle();
@ -152,7 +152,7 @@ void testE2E(String description) {
/// Delete profile
await tester.openSettings();
await tester.tapDescendantTextOf<SettingsScreen>(S.current.equipmentProfiles);
await tester.tap(find.byIcon(Icons.edit).first);
await tester.tap(find.byIcon(Icons.edit_outlined).first);
await tester.pumpAndSettle();
await tester.deleteEdits();
expect(find.text(mockEquipmentProfiles[0].name), findsNothing);

View file

@ -99,7 +99,7 @@ class _EquipmentProfilesListBuilder extends StatelessWidget {
onChanged: (value) => onCheckbox(values[index], value ?? false),
secondary: IconButton(
onPressed: () => onEdit(values[index]),
icon: const Icon(Icons.edit),
icon: const Icon(Icons.edit_outlined),
),
),
),

View file

@ -135,7 +135,7 @@ class _FilmsListBuilder<T extends Film> extends StatelessWidget {
secondary: onFilmEdit != null
? IconButton(
onPressed: () => onFilmEdit!(films[index]),
icon: const Icon(Icons.edit),
icon: const Icon(Icons.edit_outlined),
)
: null,
),