summaryrefslogtreecommitdiff
path: root/settings/accounts/ui
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@jolla.com>2026-02-19 13:21:57 +0100
committerAndrew Branson <andrew.branson@jolla.com>2026-02-19 13:21:57 +0100
commitf9a01cdd69d04a972c5d8611ba58237c9fefc336 (patch)
treea42dcc02b38739713fb0c592b4a18bfc38e02e4b /settings/accounts/ui
parent60d8504a8b5b0d5e5fa40c4ab7df8e5f98c88e32 (diff)
Use shared buteo-common, and separate notifications
Diffstat (limited to 'settings/accounts/ui')
-rw-r--r--settings/accounts/ui/MastodonSettingsDisplay.qml4
-rw-r--r--settings/accounts/ui/mastodon.qml2
2 files changed, 4 insertions, 2 deletions
diff --git a/settings/accounts/ui/MastodonSettingsDisplay.qml b/settings/accounts/ui/MastodonSettingsDisplay.qml
index 1ee276e..082bf04 100644
--- a/settings/accounts/ui/MastodonSettingsDisplay.qml
+++ b/settings/accounts/ui/MastodonSettingsDisplay.qml
@@ -109,7 +109,9 @@ StandardAccountSettingsDisplay {
text: model.displayName
description: model.serviceName === "mastodon-microblog"
? "Show Mastodon posts in the Events view."
- : ""
+ : (model.serviceName === "mastodon-notifications"
+ ? "Show Mastodon notifications."
+ : "")
visible: text.length > 0
onCheckedChanged: {
if (checked) {
diff --git a/settings/accounts/ui/mastodon.qml b/settings/accounts/ui/mastodon.qml
index e7cf255..b899b51 100644
--- a/settings/accounts/ui/mastodon.qml
+++ b/settings/accounts/ui/mastodon.qml
@@ -366,7 +366,7 @@ AccountCreationAgent {
function configure() {
hasConfigured = true
- var services = ["mastodon-microblog", "mastodon-sharing"]
+ var services = ["mastodon-microblog", "mastodon-notifications", "mastodon-sharing"]
var providerDisplayName = root.accountProvider && root.accountProvider.displayName
? root.accountProvider.displayName.toString().trim()
: ""