diff --git a/src/gui/MainPane/MessageIndicator.qml b/src/gui/MainPane/MessageIndicator.qml index 6e3b3b10..c496d883 100644 --- a/src/gui/MainPane/MessageIndicator.qml +++ b/src/gui/MainPane/MessageIndicator.qml @@ -4,7 +4,11 @@ import QtQuick 2.12 import "../Base" HLabel { - text: unreads + text: + unreads >= 1000000 ? Math.floor(unreads / 1000000) + "M" : + unreads >= 1000 ? Math.floor(unreads / 1000) + "K" : + unreads + font.pixelSize: theme.fontSize.small verticalAlignment: Qt.AlignVCenter leftPadding: theme.spacing / 4