mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-23 01:06:44 +00:00
Fix server_storage_list_item.dart colors and text
This commit is contained in:
parent
e4bb35d5d8
commit
ae8827975a
|
@ -1,5 +1,4 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:selfprivacy/config/brand_colors.dart';
|
||||
|
||||
class BrandDivider extends StatelessWidget {
|
||||
const BrandDivider({final super.key});
|
||||
|
@ -8,6 +7,6 @@ class BrandDivider extends StatelessWidget {
|
|||
Widget build(final BuildContext context) => Container(
|
||||
width: double.infinity,
|
||||
height: 1,
|
||||
color: BrandColors.dividerColor,
|
||||
color: Theme.of(context).colorScheme.onSurface.withAlpha(30),
|
||||
);
|
||||
}
|
||||
|
|
|
@ -28,10 +28,10 @@ class ServerStorageListItem extends StatelessWidget {
|
|||
return Row(
|
||||
children: [
|
||||
if (showIcon)
|
||||
const Icon(
|
||||
Icon(
|
||||
Icons.storage_outlined,
|
||||
size: 24,
|
||||
color: Colors.white,
|
||||
color: Theme.of(context).colorScheme.onBackground,
|
||||
),
|
||||
if (showIcon) const SizedBox(width: 16),
|
||||
Expanded(
|
||||
|
@ -60,7 +60,7 @@ class ServerStorageListItem extends StatelessWidget {
|
|||
'providers.storage.disk_total'.tr(
|
||||
args: [
|
||||
volume.sizeTotal.toString(),
|
||||
volume.name,
|
||||
volume.displayName,
|
||||
],
|
||||
),
|
||||
style: subtitleStyle,
|
||||
|
|
Loading…
Reference in a new issue