bug #2354: Fix icon overflow in Local Folder Cache page

- Wrapped  inside  to prevent layout breaking

Fixes #2354
This commit is contained in:
Gustavo Moreno 2025-02-27 13:31:25 +01:00
parent edc9636940
commit 3ff0f6dd27

View File

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