chore: Adjust new chat page design
This commit is contained in:
parent
a1b198bfbc
commit
9a5bb2a0db
1 changed files with 13 additions and 8 deletions
|
|
@ -124,7 +124,7 @@ class NewPrivateChatView extends StatelessWidget {
|
||||||
),
|
),
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: theme.colorScheme.onSurface,
|
color: theme.colorScheme.onSurface,
|
||||||
fontSize: 13,
|
fontSize: 12,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
@ -164,9 +164,15 @@ class NewPrivateChatView extends StatelessWidget {
|
||||||
vertical: 24.0,
|
vertical: 24.0,
|
||||||
),
|
),
|
||||||
child: Material(
|
child: Material(
|
||||||
borderRadius:
|
shape: RoundedRectangleBorder(
|
||||||
BorderRadius.circular(AppConfig.borderRadius),
|
borderRadius:
|
||||||
color: theme.colorScheme.primaryContainer,
|
BorderRadius.circular(AppConfig.borderRadius),
|
||||||
|
side: BorderSide(
|
||||||
|
width: 3,
|
||||||
|
color: theme.colorScheme.primary,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
color: Colors.transparent,
|
||||||
clipBehavior: Clip.hardEdge,
|
clipBehavior: Clip.hardEdge,
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
borderRadius:
|
borderRadius:
|
||||||
|
|
@ -176,17 +182,16 @@ class NewPrivateChatView extends StatelessWidget {
|
||||||
userId,
|
userId,
|
||||||
),
|
),
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(32.0),
|
padding: const EdgeInsets.all(16.0),
|
||||||
child: ConstrainedBox(
|
child: ConstrainedBox(
|
||||||
constraints:
|
constraints:
|
||||||
const BoxConstraints(maxWidth: 256),
|
const BoxConstraints(maxWidth: 200),
|
||||||
child: PrettyQrView.data(
|
child: PrettyQrView.data(
|
||||||
data: 'https://matrix.to/#/$userId',
|
data: 'https://matrix.to/#/$userId',
|
||||||
decoration: PrettyQrDecoration(
|
decoration: PrettyQrDecoration(
|
||||||
shape: PrettyQrSmoothSymbol(
|
shape: PrettyQrSmoothSymbol(
|
||||||
roundFactor: 1,
|
roundFactor: 1,
|
||||||
color:
|
color: theme.colorScheme.primary,
|
||||||
theme.colorScheme.onPrimaryContainer,
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue