chore: Display stories seenByUsers
This commit is contained in:
parent
09f66917e4
commit
7daf34c13e
3 changed files with 88 additions and 6 deletions
|
|
@ -225,6 +225,27 @@ class StoryView extends StatelessWidget {
|
|||
),
|
||||
),
|
||||
),
|
||||
if (controller.isOwnStory &&
|
||||
controller.currentSeenByUsers.isNotEmpty)
|
||||
Positioned(
|
||||
bottom: 16,
|
||||
left: 16,
|
||||
right: 16,
|
||||
child: SafeArea(
|
||||
child: Center(
|
||||
child: OutlinedButton.icon(
|
||||
onPressed: controller.displaySeenByUsers,
|
||||
icon: const Icon(
|
||||
Icons.visibility_outlined,
|
||||
color: Colors.white70,
|
||||
),
|
||||
label: Text(
|
||||
controller.seenByUsersTitle,
|
||||
style: const TextStyle(color: Colors.white70),
|
||||
),
|
||||
),
|
||||
),
|
||||
)),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue