👽 Update API to microservices
♻️ Refactor router pushes
This commit is contained in:
@@ -187,7 +187,9 @@ class PublisherProfileScreen extends HookConsumerWidget {
|
||||
),
|
||||
onTap: () {
|
||||
Navigator.pop(context, true);
|
||||
context.push('/account/${data.account?.name}');
|
||||
if (data.account?.name != null) {
|
||||
context.pushNamed('accountProfile', pathParameters: {'name': data.account!.name});
|
||||
}
|
||||
},
|
||||
),
|
||||
Expanded(
|
||||
|
Reference in New Issue
Block a user