mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-21 23:10:40 +00:00
use outlined edit icon
This commit is contained in:
parent
491331f9be
commit
495d7a9cd1
3 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -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),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
@ -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,
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue