Merge pull request #2743 from krille-chan/krille/follow-up-sharing-fix
chore: Follow up sharing fix
This commit is contained in:
commit
4de2b3236e
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ class FluffyChatApp extends StatelessWidget {
|
||||||
debugLogDiagnostics: true,
|
debugLogDiagnostics: true,
|
||||||
redirect: (context, state) {
|
redirect: (context, state) {
|
||||||
// Workaround for content sharings passed to go router:
|
// Workaround for content sharings passed to go router:
|
||||||
if (state.uri.scheme == 'content') return null;
|
if (state.uri.scheme == 'content') return '/';
|
||||||
|
|
||||||
// Pass deep links to app:
|
// Pass deep links to app:
|
||||||
if (state.uri.toString().startsWith(AppConfig.deepLinkPrefix)) {
|
if (state.uri.toString().startsWith(AppConfig.deepLinkPrefix)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue