mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 09:45:14 +00:00
fix: Sharing invite link
This commit is contained in:
parent
f7d3250ff2
commit
ae61ce0a82
2 changed files with 2 additions and 3 deletions
|
@ -71,8 +71,7 @@ class NewPrivateChatController extends State<NewPrivateChat> {
|
|||
}
|
||||
|
||||
void inviteAction() => FluffyShare.share(
|
||||
L10n.of(context).inviteText(Matrix.of(context).client.userID,
|
||||
'https://matrix.to/#/${Matrix.of(context).client.userID}'),
|
||||
'https://matrix.to/#/${Matrix.of(context).client.userID}',
|
||||
context,
|
||||
);
|
||||
|
||||
|
|
|
@ -56,10 +56,10 @@ class NewPrivateChatView extends StatelessWidget {
|
|||
margin: EdgeInsets.all(_qrCodePadding),
|
||||
alignment: Alignment.center,
|
||||
padding: EdgeInsets.all(_qrCodePadding * 2),
|
||||
color: Colors.white,
|
||||
child: Material(
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
elevation: 4,
|
||||
color: Colors.white,
|
||||
child: QrImage(
|
||||
data:
|
||||
'https://matrix.to/#/${Matrix.of(context).client.userID}',
|
||||
|
|
Loading…
Reference in a new issue