mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-30 16:29:30 +01:00
fix: Sharing invite link
This commit is contained in:
parent
f9111b6bb3
commit
4b93382fb9
@ -71,8 +71,7 @@ class NewPrivateChatController extends State<NewPrivateChat> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void inviteAction() => FluffyShare.share(
|
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,
|
context,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -56,10 +56,10 @@ class NewPrivateChatView extends StatelessWidget {
|
|||||||
margin: EdgeInsets.all(_qrCodePadding),
|
margin: EdgeInsets.all(_qrCodePadding),
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
padding: EdgeInsets.all(_qrCodePadding * 2),
|
padding: EdgeInsets.all(_qrCodePadding * 2),
|
||||||
color: Colors.white,
|
|
||||||
child: Material(
|
child: Material(
|
||||||
borderRadius: BorderRadius.circular(12),
|
borderRadius: BorderRadius.circular(12),
|
||||||
elevation: 4,
|
elevation: 4,
|
||||||
|
color: Colors.white,
|
||||||
child: QrImage(
|
child: QrImage(
|
||||||
data:
|
data:
|
||||||
'https://matrix.to/#/${Matrix.of(context).client.userID}',
|
'https://matrix.to/#/${Matrix.of(context).client.userID}',
|
||||||
|
Loading…
Reference in New Issue
Block a user