mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-08 13:09:30 +01:00
style: Adjust key verification dialog
This commit is contained in:
parent
9ab3332824
commit
cd7e27a6e0
@ -537,12 +537,12 @@
|
||||
},
|
||||
"description": "State that {command} is not a valid /command."
|
||||
},
|
||||
"compareEmojiMatch": "Compare and make sure the following emoji match those of the other device:",
|
||||
"compareEmojiMatch": "Please compare the emojis",
|
||||
"@compareEmojiMatch": {
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"compareNumbersMatch": "Compare and make sure the following numbers match those of the other device:",
|
||||
"compareNumbersMatch": "Please compare the numbers",
|
||||
"@compareNumbersMatch": {
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
|
@ -221,7 +221,7 @@ class KeyVerificationPageState extends State<KeyVerificationDialog> {
|
||||
if (widget.request.sasTypes.contains('emoji')) {
|
||||
title = Text(
|
||||
L10n.of(context)!.compareEmojiMatch,
|
||||
maxLines: 2,
|
||||
maxLines: 1,
|
||||
style: const TextStyle(fontSize: 16),
|
||||
);
|
||||
compareWidget = TextSpan(
|
||||
@ -374,7 +374,10 @@ class _Emoji extends StatelessWidget {
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: <Widget>[
|
||||
Text(emoji.emoji, style: const TextStyle(fontSize: 50)),
|
||||
Text(getLocalizedName()),
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 4.0),
|
||||
child: Text(getLocalizedName()),
|
||||
),
|
||||
const SizedBox(height: 10, width: 5),
|
||||
],
|
||||
);
|
||||
|
@ -8,7 +8,7 @@ Future<T?> showAdaptiveBottomSheet<T>({
|
||||
required BuildContext context,
|
||||
required Widget Function(BuildContext) builder,
|
||||
bool isDismissible = true,
|
||||
bool isScrollControlled = true,
|
||||
bool isScrollControlled = false,
|
||||
}) =>
|
||||
showModalBottomSheet(
|
||||
context: context,
|
||||
|
Loading…
Reference in New Issue
Block a user