fix: Open URIs
This commit is contained in:
parent
6731517d70
commit
0ecbe842a5
3 changed files with 17 additions and 12 deletions
|
|
@ -130,9 +130,9 @@ class ChatListController extends State<ChatList> {
|
|||
void _processIncomingUris(String text) async {
|
||||
if (text == null) return;
|
||||
VRouter.of(context).to('/rooms');
|
||||
text = text.replaceFirst('im.fluffychat://', 'matrix:');
|
||||
UrlLauncher(context, text).openMatrixToUrl();
|
||||
return;
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
UrlLauncher(context, text).openMatrixToUrl();
|
||||
});
|
||||
}
|
||||
|
||||
void _initReceiveSharingIntent() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue