mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-07 00:24:18 +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,
|
||||
),
|
||||
enabled: !serviceDisabled && !serviceLocked,
|
||||
enabled: !serviceDisabled &&
|
||||
!serviceLocked &&
|
||||
service.storageUsage.volume != null,
|
||||
),
|
||||
if (service.canBeBackedUp)
|
||||
ListTile(
|
||||
|
|
Loading…
Reference in a new issue