🐛 Fix bootstrapper icon issue

This commit is contained in:
LittleSheep 2024-08-04 12:59:13 +08:00
parent 54e176e75d
commit ec2eadad6d

View File

@ -184,7 +184,7 @@ class _BootstrapperShellState extends State<BootstrapperShell> {
children: [ children: [
if (_isErrored && !_isDismissable && !_isBusy) if (_isErrored && !_isDismissable && !_isBusy)
const Icon(Icons.cancel, size: 24), const Icon(Icons.cancel, size: 24),
if (_isErrored && _isDismissable) if (_isErrored && _isDismissable && !_isBusy)
const Icon(Icons.warning, size: 24), const Icon(Icons.warning, size: 24),
if ((_isErrored && _isDismissable && _isBusy) || _isBusy) if ((_isErrored && _isDismissable && _isBusy) || _isBusy)
const SizedBox( const SizedBox(