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

@ -50,6 +50,7 @@ class StoryView extends StatelessWidget {
appBar: AppBar(
titleSpacing: 0,
leading: IconButton(
color: Colors.white,
icon: const Icon(Icons.close),
onPressed: Navigator.of(context).pop,
),
@ -96,10 +97,12 @@ class StoryView extends StatelessWidget {
: [
if (!controller.isOwnStory)
IconButton(
color: Colors.white,
icon: Icon(Icons.adaptive.share_outlined),
onPressed: controller.share,
),
PopupMenuButton<PopupStoryAction>(
color: Colors.white,
onSelected: controller.onPopupStoryAction,
itemBuilder: (context) => [
if (controller.currentEvent?.canRedact ?? false)