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/famedlysdk_store.dart';
|
||||||
import '../utils/presence_extension.dart';
|
import '../utils/presence_extension.dart';
|
||||||
import '../views/key_verification.dart';
|
import '../views/key_verification.dart';
|
||||||
|
import '../utils/platform_infos.dart';
|
||||||
import 'avatar.dart';
|
import 'avatar.dart';
|
||||||
|
|
||||||
class Matrix extends StatefulWidget {
|
class Matrix extends StatefulWidget {
|
||||||
@ -212,7 +213,7 @@ class MatrixState extends State<Matrix> {
|
|||||||
final Set verificationMethods = <KeyVerificationMethod>{
|
final Set verificationMethods = <KeyVerificationMethod>{
|
||||||
KeyVerificationMethod.numbers
|
KeyVerificationMethod.numbers
|
||||||
};
|
};
|
||||||
if (!kIsWeb) {
|
if (PlatformInfos.isMobile) {
|
||||||
// emojis don't show in web somehow
|
// emojis don't show in web somehow
|
||||||
verificationMethods.add(KeyVerificationMethod.emoji);
|
verificationMethods.add(KeyVerificationMethod.emoji);
|
||||||
}
|
}
|
||||||
|
@ -327,7 +327,7 @@ packages:
|
|||||||
name: flutter_matrix_html
|
name: flutter_matrix_html
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.1.5"
|
version: "0.1.7"
|
||||||
flutter_olm:
|
flutter_olm:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
@ -50,7 +50,7 @@ dependencies:
|
|||||||
open_file: ^3.0.1
|
open_file: ^3.0.1
|
||||||
mime_type: ^0.3.0
|
mime_type: ^0.3.0
|
||||||
bot_toast: ^3.0.0
|
bot_toast: ^3.0.0
|
||||||
flutter_matrix_html: ^0.1.5
|
flutter_matrix_html: ^0.1.7
|
||||||
moor: ^3.3.1
|
moor: ^3.3.1
|
||||||
sqlite3_flutter_libs: ^0.2.0
|
sqlite3_flutter_libs: ^0.2.0
|
||||||
sqlite3: ^0.1.4
|
sqlite3: ^0.1.4
|
||||||
@ -87,7 +87,7 @@ flutter_icons:
|
|||||||
|
|
||||||
# The following section is specific to Flutter.
|
# The following section is specific to Flutter.
|
||||||
flutter:
|
flutter:
|
||||||
# Adds code generation (synthetic package) support
|
# Adds code generation (synthetic package) support
|
||||||
generate: true
|
generate: true
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user