Skip to content

Commit

Permalink
Fix f_cats scrollable
Browse files Browse the repository at this point in the history
  • Loading branch information
TaYaKi71751 committed Oct 6, 2024
1 parent 01ef6ce commit 8a84848
Showing 1 changed file with 23 additions and 21 deletions.
44 changes: 23 additions & 21 deletions violet/lib/pages/settings/settings_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -841,27 +841,29 @@ class _SettingsPageState extends State<SettingsPage>
actions: [okButton, cancelButton],
title: const Text('E-Hentai Categories'),
contentPadding: const EdgeInsets.fromLTRB(12, 8, 12, 8),
content: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
const Text('f_cats: '),
...[
TextField(
controller: catsController,
readOnly: true,
),
doujinshiButton,
mangaButton,
artistcgButton,
gamecgButton,
westernButton,
nonhButton,
imagesetButton,
cosplayButton,
asianpornButton,
miscButton,
].map((e) => Row(children: [Expanded(child: e)])),
],
content: SingleChildScrollView(
child: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
const Text('f_cats: '),
...[
TextField(
controller: catsController,
readOnly: true,
),
doujinshiButton,
mangaButton,
artistcgButton,
gamecgButton,
westernButton,
nonhButton,
imagesetButton,
cosplayButton,
asianpornButton,
miscButton,
].map((e) => Row(children: [Expanded(child: e)])),
],
),
),
),
);
Expand Down

0 comments on commit 8a84848

Please sign in to comment.