mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 06:52:35 +01:00
fix: small desktop fixes
This commit is contained in:
parent
4dfd0dbc05
commit
540ff683d8
@ -21,6 +21,7 @@ import '../utils/beautify_string_extension.dart';
|
||||
import '../utils/famedlysdk_store.dart';
|
||||
import '../utils/presence_extension.dart';
|
||||
import '../views/key_verification.dart';
|
||||
import '../utils/platform_infos.dart';
|
||||
import 'avatar.dart';
|
||||
|
||||
class Matrix extends StatefulWidget {
|
||||
@ -212,7 +213,7 @@ class MatrixState extends State<Matrix> {
|
||||
final Set verificationMethods = <KeyVerificationMethod>{
|
||||
KeyVerificationMethod.numbers
|
||||
};
|
||||
if (!kIsWeb) {
|
||||
if (PlatformInfos.isMobile) {
|
||||
// emojis don't show in web somehow
|
||||
verificationMethods.add(KeyVerificationMethod.emoji);
|
||||
}
|
||||
|
@ -327,7 +327,7 @@ packages:
|
||||
name: flutter_matrix_html
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.1.5"
|
||||
version: "0.1.7"
|
||||
flutter_olm:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
@ -50,7 +50,7 @@ dependencies:
|
||||
open_file: ^3.0.1
|
||||
mime_type: ^0.3.0
|
||||
bot_toast: ^3.0.0
|
||||
flutter_matrix_html: ^0.1.5
|
||||
flutter_matrix_html: ^0.1.7
|
||||
moor: ^3.3.1
|
||||
sqlite3_flutter_libs: ^0.2.0
|
||||
sqlite3: ^0.1.4
|
||||
|
Loading…
Reference in New Issue
Block a user