mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-09 09:31:13 +00:00
fix(devices): Add refresh indicator to 'Other devices' section
- Resolve https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/163
This commit is contained in:
parent
da0b0b7670
commit
5b94cc0cc0
|
@ -91,6 +91,12 @@ class _DevicesInfo extends StatelessWidget {
|
||||||
color: Theme.of(context).colorScheme.secondary,
|
color: Theme.of(context).colorScheme.secondary,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
if (devicesStatus.status == LoadingStatus.refreshing) ...[
|
||||||
|
const Center(
|
||||||
|
heightFactor: 4,
|
||||||
|
child: CircularProgressIndicator(),
|
||||||
|
),
|
||||||
|
],
|
||||||
...devicesStatus.otherDevices
|
...devicesStatus.otherDevices
|
||||||
.map((final device) => _DeviceTile(device: device)),
|
.map((final device) => _DeviceTile(device: device)),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue