summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMalte E <malte.e@mailbox.org>2022-02-13 13:22:29 +0100
committerMalte E <malte.e@mailbox.org>2022-02-13 13:22:29 +0100
commitc70fe9c571e18c78f3a53488ffd49942e175582e (patch)
treea24f5b4aea78b8341af7e0d0ae69f05069f35eb5 /src
parentadd small avatars option and tweak colors and spacings (diff)
downloadnheko-c70fe9c571e18c78f3a53488ffd49942e175582e.tar.xz
let lint fix the code formatting
Diffstat (limited to 'src')
-rw-r--r--src/UserSettingsPage.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/UserSettingsPage.cpp b/src/UserSettingsPage.cpp

index 265e45a6..000e2976 100644 --- a/src/UserSettingsPage.cpp +++ b/src/UserSettingsPage.cpp
@@ -69,9 +69,9 @@ UserSettings::load(std::optional<QString> profile) settings.value(QStringLiteral("user/timeline/message_hover_highlight"), false).toBool(); enlargeEmojiOnlyMessages_ = settings.value(QStringLiteral("user/timeline/enlarge_emoji_only_msg"), false).toBool(); - markdown_ = settings.value(QStringLiteral("user/markdown_enabled"), true).toBool(); - bubbles_ = settings.value(QStringLiteral("user/bubbles_enabled"), true).toBool(); - smallAvatars_ = settings.value(QStringLiteral("user/small_avatars_enabled"), true).toBool(); + markdown_ = settings.value(QStringLiteral("user/markdown_enabled"), true).toBool(); + bubbles_ = settings.value(QStringLiteral("user/bubbles_enabled"), true).toBool(); + smallAvatars_ = settings.value(QStringLiteral("user/small_avatars_enabled"), true).toBool(); animateImagesOnHover_ = settings.value(QStringLiteral("user/animate_images_on_hover"), false).toBool(); typingNotifications_ = @@ -1078,8 +1078,7 @@ UserSettingsModel::data(const QModelIndex &index, int role) const return tr( "Messages get a bubble background. This also triggers some layout changes (WIP)."); case SmallAvatars: - return tr( - "Avatars are resized to fit above the message."); + return tr("Avatars are resized to fit above the message."); case AnimateImagesOnHover: return tr("Plays media like GIFs or WEBPs only when explicitly hovering over them."); case TypingNotifications: