Skip to content
Snippets Groups Projects
Commit 480c4bc8 authored by Nicolas Werner's avatar Nicolas Werner Committed by CH Chethan Reddy
Browse files

Set proper emoji font for device verification

parent 2088053d
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@ import QtQuick 2.3
import QtQuick.Controls 2.10
import QtQuick.Window 2.2
import QtQuick.Layouts 1.10
import Qt.labs.settings 1.0
import im.nheko 1.0
......@@ -13,6 +14,12 @@ ApplicationWindow {
palette: colors
Settings {
id: settings
category: "user"
property bool emoji_font_family: true
}
height: stack.implicitHeight
width: stack.implicitWidth
StackView {
......@@ -271,6 +278,7 @@ ApplicationWindow {
Layout.alignment: Qt.AlignHCenter
text: col.emoji.emoji
font.pixelSize: Qt.application.font.pixelSize * 4
font.family: settings.emoji_font_family
}
Text {
Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment