Skip to content

Commit

Permalink
[timetable] pruned toolbar on wallpaper editor
Browse files Browse the repository at this point in the history
  • Loading branch information
liplum committed Sep 23, 2024
1 parent 74939cd commit e7cfc85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/timetable/p13n/page/background.dart
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ class _TimetableBackgroundEditorState extends State<TimetableBackgroundEditor> w
onPressed: chooseImage,
icon: Icon(context.icons.create),
label: i18n.choose.text(),
),
).center().expanded(flex: 3),
IconButton.outlined(
onPressed: hasImage
? () {
Expand All @@ -249,7 +249,7 @@ class _TimetableBackgroundEditorState extends State<TimetableBackgroundEditor> w
}
: null,
icon: Icon(hidden ? Icons.hide_image_outlined : Icons.image_outlined),
),
).center().expanded(flex: 1),
OutlinedButton.icon(
onPressed: hasImage
? () {
Expand All @@ -261,7 +261,7 @@ class _TimetableBackgroundEditorState extends State<TimetableBackgroundEditor> w
: null,
icon: Icon(context.icons.delete),
label: i18n.delete.text(),
),
).center().expanded(flex: 3),
].row(maa: MainAxisAlignment.spaceEvenly);
}

Expand Down

0 comments on commit e7cfc85

Please sign in to comment.