design: Display own stories at first place and combine with new stories button
This commit is contained in:
parent
ce4641b091
commit
45826c826a
3 changed files with 116 additions and 85 deletions
|
|
@ -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(() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue