Compare commits

...

2 Commits

Author SHA1 Message Date
Gustavo Moreno
460738fc11
Merge 3ff0f6dd27 into b4f8d2dfbf 2025-08-19 18:18:53 +08:00
Gustavo Moreno
3ff0f6dd27 bug #2354: Fix icon overflow in Local Folder Cache page
- Wrapped  inside  to prevent layout breaking

Fixes #2354
2025-02-27 13:31:44 +01:00

View File

@ -136,8 +136,10 @@ class LocalLibraryPage extends HookConsumerWidget {
icon: Column( icon: Column(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
const Icon(SpotubeIcons.delete), const Expanded(child: Icon(SpotubeIcons.delete)),
Text(context.l10n.clear_cache) Text(
context.l10n.clear_cache,
)
], ],
).xSmall().iconSmall(), ).xSmall().iconSmall(),
onPressed: () async { onPressed: () async {
@ -178,7 +180,7 @@ class LocalLibraryPage extends HookConsumerWidget {
icon: Column( icon: Column(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
const Icon(SpotubeIcons.export), const Expanded(child: Icon(SpotubeIcons.export)),
Text( Text(
context.l10n.export, context.l10n.export,
) )