mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-11-04 06:17:26 +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(
 | 
			
		||||
        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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user