mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 00:51:20 +00:00
fix(ui): Prevent service moving if volume is null for some reason
This commit is contained in:
parent
b04dcef603
commit
4dae3404fa
|
@ -139,7 +139,9 @@ class _ServicePageState extends State<ServicePage> {
|
||||||
),
|
),
|
||||||
style: Theme.of(context).textTheme.bodyMedium,
|
style: Theme.of(context).textTheme.bodyMedium,
|
||||||
),
|
),
|
||||||
enabled: !serviceDisabled && !serviceLocked,
|
enabled: !serviceDisabled &&
|
||||||
|
!serviceLocked &&
|
||||||
|
service.storageUsage.volume != null,
|
||||||
),
|
),
|
||||||
if (service.canBeBackedUp)
|
if (service.canBeBackedUp)
|
||||||
ListTile(
|
ListTile(
|
||||||
|
|
Loading…
Reference in a new issue