Skip to content

Commit

Permalink
DropdownButtonの表示を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
shiosyakeyakini-info committed Aug 13, 2023
1 parent 9700e7b commit 74a0f70
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ class GeneralSettingsPageState extends ConsumerState<GeneralSettingsPage> {
const Padding(padding: EdgeInsets.only(top: 10)),
const Text("閲覧注意のついたノートの表示"),
DropdownButton<NSFWInherit>(
isExpanded: true,
items: [
for (final element in NSFWInherit.values)
DropdownMenuItem(
Expand All @@ -117,6 +118,7 @@ class GeneralSettingsPageState extends ConsumerState<GeneralSettingsPage> {
const Padding(padding: EdgeInsets.only(top: 10)),
const Text("一覧の自動更新"),
DropdownButton<AutomaticPush>(
isExpanded: true,
items: [
for (final element in AutomaticPush.values)
DropdownMenuItem(
Expand Down Expand Up @@ -163,11 +165,12 @@ class GeneralSettingsPageState extends ConsumerState<GeneralSettingsPage> {
const Padding(padding: EdgeInsets.only(top: 10)),
const Text("タブの位置"),
DropdownButton<TabPosition>(
isExpanded: true,
items: [
for (final element in TabPosition.values)
DropdownMenuItem(
value: element,
child: Text(element.displayName),
child: Text("${element.displayName}に表示する"),
)
],
value: tabPosition,
Expand Down

0 comments on commit 74a0f70

Please sign in to comment.