fix(devices): Add refresh indicator to 'Other devices' section

- Resolve #163
pull/398/head
NaiJi ✨ 2023-11-30 12:15:56 +04:00
parent da0b0b7670
commit 5b94cc0cc0
1 changed files with 6 additions and 0 deletions

View File

@ -91,6 +91,12 @@ class _DevicesInfo extends StatelessWidget {
color: Theme.of(context).colorScheme.secondary,
),
),
if (devicesStatus.status == LoadingStatus.refreshing) ...[
const Center(
heightFactor: 4,
child: CircularProgressIndicator(),
),
],
...devicesStatus.otherDevices
.map((final device) => _DeviceTile(device: device)),
],