tweaking download

This commit is contained in:
verboomp
2026-02-06 14:41:16 +01:00
parent 2955a7eb1c
commit a6216f6e81
4 changed files with 33 additions and 1 deletions

View File

@@ -340,7 +340,26 @@ class _CustomerWidgetState extends State<CustomerWidget> {
showDialog(
context: context,
barrierDismissible: false,
builder: (context) => const Center(child: CircularProgressIndicator()),
builder: (context) => Dialog(
backgroundColor: Colors.white,
child: Padding(
padding: const EdgeInsets.all(24.0),
child: Row(
mainAxisSize: MainAxisSize.min,
children: [
const CircularProgressIndicator(),
const SizedBox(width: 16),
Text(
AppLocalizations.of(context)!.customerWidgetDownloadInProgress,
style: TextStyle(
fontFamily: _generalStyle.fontFamily,
fontSize: 16,
),
),
],
),
),
),
);
try {