chore: enhance stories
This commit is contained in:
parent
08f4fccc59
commit
733e4c7d7d
7 changed files with 100 additions and 8 deletions
|
|
@ -142,7 +142,7 @@ class AddStoryController extends State<AddStoryPage> {
|
|||
},
|
||||
);
|
||||
if (postResult.error == null) {
|
||||
VRouter.of(context).to('/rooms');
|
||||
VRouter.of(context).pop();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -73,6 +73,17 @@ class _InviteStoryPageState extends State<InviteStoryPage> {
|
|||
onPressed: () => Navigator.of(context).pop<bool>(false),
|
||||
),
|
||||
title: Text(L10n.of(context)!.whoCanSeeMyStories),
|
||||
bottom: PreferredSize(
|
||||
preferredSize: const Size.fromHeight(56),
|
||||
child: ListTile(
|
||||
title: Text(L10n.of(context)!.whoCanSeeMyStoriesDesc),
|
||||
leading: CircleAvatar(
|
||||
backgroundColor: Theme.of(context).secondaryHeaderColor,
|
||||
foregroundColor: Theme.of(context).colorScheme.secondary,
|
||||
child: const Icon(Icons.lock),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
body: FutureBuilder<List<User>>(
|
||||
future: loadContacts,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue