alterações em telas
This commit is contained in:
@@ -32,6 +32,8 @@ abstract class AppConfig {
|
||||
static const String appId = 'im.tatuchat.TatuChat';
|
||||
static const String appOpenUrlScheme = 'im.tatuchat';
|
||||
static const String appSsoUrlScheme = 'im.tatuchat.auth';
|
||||
static const String canalTag = 'tatuchat_canal';
|
||||
static const String muralTag = 'tatuchat_mural';
|
||||
|
||||
static const String sourceCodeUrl =
|
||||
'https://github.com/krille-chan/fluffychat';
|
||||
|
||||
@@ -217,6 +217,30 @@ abstract class AppRoutes {
|
||||
),
|
||||
redirect: loggedOutRedirect,
|
||||
),
|
||||
GoRoute(
|
||||
path: 'newcanal',
|
||||
pageBuilder: (context, state) => defaultPageBuilder(
|
||||
context,
|
||||
state,
|
||||
NewGroup(
|
||||
createGroupType: CreateGroupType.canal,
|
||||
spaceId: state.uri.queryParameters['space_id'],
|
||||
),
|
||||
),
|
||||
redirect: loggedOutRedirect,
|
||||
),
|
||||
GoRoute(
|
||||
path: 'newmural',
|
||||
pageBuilder: (context, state) => defaultPageBuilder(
|
||||
context,
|
||||
state,
|
||||
NewGroup(
|
||||
createGroupType: CreateGroupType.mural,
|
||||
spaceId: state.uri.queryParameters['space_id'],
|
||||
),
|
||||
),
|
||||
redirect: loggedOutRedirect,
|
||||
),
|
||||
ShellRoute(
|
||||
pageBuilder: (context, state, child) => defaultPageBuilder(
|
||||
context,
|
||||
|
||||
Reference in New Issue
Block a user