This commit is contained in:
Juan Gilsanz Polo 2023-10-08 00:05:38 +02:00
parent 2ad99e737d
commit 9d1ae22bdd
5 changed files with 29 additions and 19 deletions

View file

@ -185,7 +185,9 @@ class _AddedListState extends State<AddedList> {
client: widget.data[index],
onTap: widget.onClientSelected,
onLongPress: openOptionsModal,
onEdit: openClientModal,
onEdit: statusProvider.serverStatus != null
? (c) => openClientModal(c)
: null,
onDelete: openDeleteModal,
splitView: widget.splitView,
serverVersion: statusProvider.serverStatus!.serverVersion,