fix: Styling and notification settings

This commit is contained in:
Christian Pauly 2022-09-06 20:21:11 +02:00
commit 5629f14d5a
7 changed files with 29 additions and 6 deletions

View file

@ -17,6 +17,7 @@ class AddStoryView extends StatelessWidget {
return Scaffold(
backgroundColor: Colors.blueGrey.shade900,
appBar: AppBar(
leading: const BackButton(color: Colors.white),
systemOverlayStyle: SystemUiOverlayStyle.light,
backgroundColor: Colors.transparent,
elevation: 0,
@ -38,15 +39,18 @@ class AddStoryView extends StatelessWidget {
if (controller.hasMedia)
IconButton(
icon: const Icon(Icons.fullscreen_outlined),
color: Colors.white,
onPressed: controller.toggleBoxFit,
),
if (!controller.hasMedia)
IconButton(
icon: const Icon(Icons.color_lens_outlined),
color: Colors.white,
onPressed: controller.updateColor,
),
IconButton(
icon: const Icon(Icons.delete_outlined),
color: Colors.white,
onPressed: controller.reset,
),
],