mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-16 18:12:29 -06:00
feat: Update translations, finish saved views rework, some other fixes
This commit is contained in:
@@ -15,6 +15,7 @@ class ExpansionCard extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final colorScheme = Theme.of(context).colorScheme;
|
||||
return Card(
|
||||
margin: const EdgeInsets.all(16),
|
||||
child: Theme(
|
||||
@@ -29,8 +30,17 @@ class ExpansionCard extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
child: ExpansionTile(
|
||||
backgroundColor: Theme.of(context).colorScheme.surfaceVariant,
|
||||
backgroundColor: ElevationOverlay.applySurfaceTint(
|
||||
colorScheme.surface,
|
||||
colorScheme.surfaceTint,
|
||||
4,
|
||||
),
|
||||
initiallyExpanded: initiallyExpanded,
|
||||
collapsedBackgroundColor: ElevationOverlay.applySurfaceTint(
|
||||
colorScheme.surface,
|
||||
colorScheme.surfaceTint,
|
||||
4,
|
||||
),
|
||||
title: title,
|
||||
children: [content],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user