design: Display own stories at first place and combine with new stories button

This commit is contained in:
Krille Fear 2022-04-08 07:33:00 +02:00
commit 45826c826a
3 changed files with 116 additions and 85 deletions

View file

@ -227,7 +227,11 @@ class StoryPageController extends State<StoryPage> {
void skip() {
if (index + 1 >= max) {
VRouter.of(context).to('/rooms');
if (isOwnStory) {
VRouter.of(context).to('/stories/create');
} else {
VRouter.of(context).to('/rooms');
}
return;
}
setState(() {