summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorduarm <duarm0@disroot.org>2023-12-31 16:18:46 -0300
committerduarm <duarm0@disroot.org>2023-12-31 16:18:46 -0300
commit9715a0ee16551b37a61bfb62d97e3a7d2f1e3752 (patch)
treeb028b465ed2c33a3bdc59acac4893ecc076ef658 /src
parentdisable swipe motions toggle (diff)
downloadnheko-9715a0ee16551b37a61bfb62d97e3a7d2f1e3752.tar.xz
lint
Diffstat (limited to 'src')
-rw-r--r--src/UserSettingsPage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/UserSettingsPage.cpp b/src/UserSettingsPage.cpp
index f352267a..ed6175ae 100644
--- a/src/UserSettingsPage.cpp
+++ b/src/UserSettingsPage.cpp
@@ -94,7 +94,7 @@ UserSettings::load(std::optional<QString> profile)
     expireEvents_ = settings.value("user/expired_events_background_maintenance", false).toBool();
 
     mobileMode_        = settings.value("user/mobile_mode", false).toBool();
-    disableSwipe_        = settings.value("user/disable_swipe", false).toBool();
+    disableSwipe_      = settings.value("user/disable_swipe", false).toBool();
     emojiFont_         = settings.value("user/emoji_font_family", "emoji").toString();
     baseFontSize_      = settings.value("user/font_size", QFont().pointSizeF()).toDouble();
     auto tempPresence  = settings.value("user/presence", "").toString().toStdString();
@@ -1417,8 +1417,8 @@ UserSettingsModel::data(const QModelIndex &index, int role) const
             return tr(
               "Will prevent text selection in the timeline to make touch scrolling easier.");
         case DisableSwipe:
-            return tr(
-              "Will prevent swipe motions like swiping left/right between Rooms and Timeline, or swiping a message to reply.");
+            return tr("Will prevent swipe motions like swiping left/right between Rooms and "
+                      "Timeline, or swiping a message to reply.");
         case ScaleFactor:
             return tr("Change the scale factor of the whole user interface.");
         case UseStunServer: