Skip to content

Commit

Permalink
  fix: show a dialog with the visibiliyt options
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-alcides committed Dec 26, 2024
1 parent f01e029 commit 23fea07
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -54,7 +56,17 @@ class StoryPreviewPage extends ConsumerWidget {
},
),
SizedBox(height: 8.0.s),
const VerifiedAccountListItem(),
GestureDetector(
onTap: () async {
await showSimpleBottomSheet<bool>(
context: context,
child: VisibilitySettingsModal(
title: context.i18n.story_settings_title,
),
);
},
child: const VerifiedAccountListItem(),
),
],
),
),
Expand Down

0 comments on commit 23fea07

Please sign in to comment.