From 34a76353e546918ef4d491ec9041b564df532aa8 Mon Sep 17 00:00:00 2001 From: ice-alcides <171546305+ice-alcides@users.noreply.github.com> Date: Tue, 24 Dec 2024 16:54:08 +0200 Subject: [PATCH] =?UTF-8?q?=C2=A0=C2=A0fix:=20show=20a=20dialog=20with=20t?= =?UTF-8?q?he=20visibiliyt=20options?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../stories/views/pages/story_preview_page.dart | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/lib/app/features/feed/stories/views/pages/story_preview_page.dart b/lib/app/features/feed/stories/views/pages/story_preview_page.dart index 9d47e9c66..9f1118d5f 100644 --- a/lib/app/features/feed/stories/views/pages/story_preview_page.dart +++ b/lib/app/features/feed/stories/views/pages/story_preview_page.dart @@ -12,8 +12,10 @@ import 'package:ion/app/features/feed/stories/views/components/story_preview/act import 'package:ion/app/features/feed/stories/views/components/story_preview/media/story_image_preview.dart'; import 'package:ion/app/features/feed/stories/views/components/story_preview/media/story_video_preview.dart'; import 'package:ion/app/features/feed/stories/views/components/story_preview/user/verified_account_list_item.dart'; +import 'package:ion/app/features/feed/views/pages/visibility_settings_modal/visibility_settings_modal.dart'; import 'package:ion/app/router/app_routes.c.dart'; import 'package:ion/app/router/components/navigation_app_bar/navigation_app_bar.dart'; +import 'package:ion/app/router/utils/show_simple_bottom_sheet.dart'; import 'package:ion/app/services/media_service/media_service.c.dart'; class StoryPreviewPage extends ConsumerWidget { @@ -55,7 +57,17 @@ class StoryPreviewPage extends ConsumerWidget { }, ), SizedBox(height: 8.0.s), - const VerifiedAccountListItem(), + GestureDetector( + onTap: () async { + await showSimpleBottomSheet( + context: context, + child: VisibilitySettingsModal( + title: context.i18n.story_settings_title, + ), + ); + }, + child: const VerifiedAccountListItem(), + ), ], ), ),