forked from eatvio/eatvio_app
feat(notifications): added push notifications navigation handling and fixed ws notification parsing
This commit is contained in:
@@ -109,7 +109,10 @@ void main() {
|
||||
],
|
||||
child: wrap(
|
||||
const Scaffold(
|
||||
body: BottomNavigationBarWidget(child: Text('Test Content')),
|
||||
body: BottomNavigationBarWidget(
|
||||
child: Text('Test Content'),
|
||||
currentLocation: '/feed-screen',
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -145,7 +148,10 @@ void main() {
|
||||
],
|
||||
child: wrap(
|
||||
const Scaffold(
|
||||
body: BottomNavigationBarWidget(child: Text('Test Content')),
|
||||
body: BottomNavigationBarWidget(
|
||||
child: Text('Test Content'),
|
||||
currentLocation: '/feed-screen',
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -311,7 +311,7 @@ void main() {
|
||||
type: NotificationType.commentReplied,
|
||||
entityName: 'Test Entity',
|
||||
commentedEntityId: 1,
|
||||
commentedEntityType: 'test',
|
||||
commentedEntityType: CommentedEntityType.diet,
|
||||
author: 'Test Author',
|
||||
authorId: 1,
|
||||
parentCommentId: 1,
|
||||
@@ -349,7 +349,7 @@ void main() {
|
||||
type: NotificationType.entityCommented,
|
||||
entityName: 'Test Entity',
|
||||
entityId: 1,
|
||||
entityType: 'test',
|
||||
entityType: CommentedEntityType.diet,
|
||||
entityTranslatedType: 'Test Type',
|
||||
entityUrl: 'test_url',
|
||||
authorName: 'Test Author',
|
||||
|
||||
Reference in New Issue
Block a user