fix: Minor desktop fixes

This commit is contained in:
Christian Pauly 2021-01-20 20:27:09 +01:00
commit 94917a41c9
5 changed files with 21 additions and 7 deletions

View file

@ -310,7 +310,7 @@ class MatrixState extends State<Matrix> {
final Set verificationMethods = <KeyVerificationMethod>{
KeyVerificationMethod.numbers
};
if (PlatformInfos.isMobile) {
if (PlatformInfos.isMobile || (!kIsWeb && Platform.isLinux)) {
// emojis don't show in web somehow
verificationMethods.add(KeyVerificationMethod.emoji);
}