Add actions to issue or cancel purchase orders (#313)

This commit is contained in:
Oliver 2023-04-11 22:52:27 +10:00 committed by GitHub
parent 164295c3e2
commit 943104f20c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 99 additions and 1 deletions

View file

@ -26,7 +26,7 @@ Future<void> confirmationDialog(String title, String text, {Color? color, IconDa
title: Text(title, style: TextStyle(color: color)),
leading: FaIcon(icon, color: color),
),
content: Text(text),
content: text.isEmpty ? Text(text) : null,
actions: [
TextButton(
child: Text(_reject),