diff options
| author | Andrew Branson <andrew.branson@jolla.com> | 2026-03-22 11:21:35 +0100 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@jolla.com> | 2026-03-22 19:31:10 +0100 |
| commit | 86bc18b99cc539949934e22f92f430f040117b21 (patch) | |
| tree | 260be9618fa4c6685a1f69ad4cd531511704182c /settings | |
| parent | d68706916727ccade2f6ceb7ea3faca32d6e3b64 (diff) | |
Single auth service, and msyncd restart
- Use the microblog service for all auth
- Restart msyncd on install if it's running
Diffstat (limited to 'settings')
| -rw-r--r-- | settings/accounts/ui/MastodonSettingsDisplay.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/settings/accounts/ui/MastodonSettingsDisplay.qml b/settings/accounts/ui/MastodonSettingsDisplay.qml index fe8ba04..35d657b 100644 --- a/settings/accounts/ui/MastodonSettingsDisplay.qml +++ b/settings/accounts/ui/MastodonSettingsDisplay.qml @@ -13,6 +13,7 @@ StandardAccountSettingsDisplay { id: root settingsModified: true + property bool postsServiceEnabled: false function refreshDescriptionEditor() { var description = root.account.configurationValues("")["description"] @@ -124,6 +125,9 @@ StandardAccountSettingsDisplay { : "") visible: text.length > 0 onCheckedChanged: { + if (model.serviceName === "mastodon-microblog") { + root.postsServiceEnabled = checked + } if (checked) { root.account.enableWithService(model.serviceName) } else { @@ -140,6 +144,7 @@ StandardAccountSettingsDisplay { text: qsTrId("settings-accounts-mastodon-la-auto_sync_feed") //% "Fetch new posts periodically when browsing Events Mastodon feed." description: qsTrId("settings-accounts-mastodon-la-auto_sync_feed_description") + enabled: root.postsServiceEnabled onCheckedChanged: { autoSyncConf.value = checked |
