Fix extending volume button error

pull/111/head
NaiJi ✨ 2022-09-06 15:33:12 +03:00
parent 5f13be9339
commit 580da306e1
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ class _ExtendingVolumePageState extends State<ExtendingVolumePage> {
const SizedBox(height: 16),
FilledButton(
title: 'providers.storage.extend_volume_button.title'.tr(),
onPressed: null,
onPressed: _isError ? null : () => {},
disabled: _isError,
),
const SizedBox(height: 16),