mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-09 09:31:13 +00:00
feat(ui): Text overflow on the storage card
This commit is contained in:
parent
f1c5fa7d82
commit
4b08b96b38
|
@ -59,21 +59,23 @@ class StorageCard extends StatelessWidget {
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Column(
|
Expanded(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
child: Column(
|
||||||
children: [
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
Text(
|
children: [
|
||||||
'storage.card_title'.tr(),
|
|
||||||
style: Theme.of(context).textTheme.titleLarge,
|
|
||||||
),
|
|
||||||
if (state != StateType.uninitialized)
|
|
||||||
Text(
|
Text(
|
||||||
diskStatus.isDiskOkay
|
'storage.card_title'.tr(),
|
||||||
? 'storage.status_ok'.tr()
|
style: Theme.of(context).textTheme.titleLarge,
|
||||||
: 'storage.status_error'.tr(),
|
|
||||||
style: Theme.of(context).textTheme.bodyLarge,
|
|
||||||
),
|
),
|
||||||
],
|
if (state != StateType.uninitialized)
|
||||||
|
Text(
|
||||||
|
diskStatus.isDiskOkay
|
||||||
|
? 'storage.status_ok'.tr()
|
||||||
|
: 'storage.status_error'.tr(),
|
||||||
|
style: Theme.of(context).textTheme.bodyLarge,
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
if (state != StateType.uninitialized)
|
if (state != StateType.uninitialized)
|
||||||
IconStatusMask(
|
IconStatusMask(
|
||||||
|
|
Loading…
Reference in a new issue