[client] Overwrite name conflict resolution

This commit is contained in:
Abhishek Shroff
2024-12-29 21:18:36 +05:30
parent 4b777e2531
commit bfae57ff59

View File

@@ -51,6 +51,14 @@ class ActionView extends StatelessWidget {
trailing: Row(
mainAxisSize: MainAxisSize.min,
children: [
if (showRenameOptions)
IconButton(
icon: const Icon(Icons.warning),
tooltip: 'Overwrite',
onPressed: () async {
if (action is! ResourceBindAction) return;
action.updateConflictResolution(resourceBindConflictResolutionOverwrite);
}),
if (showRenameOptions)
IconButton(
icon: const Icon(Icons.healing),