diff options
| author | Andrew Branson <andrew.branson@jolla.com> | 2026-02-10 21:14:11 +0100 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@jolla.com> | 2026-02-10 22:09:19 +0100 |
| commit | da91be4961962536c7ff021ec97674996a1cb8d0 (patch) | |
| tree | 04fef71468c3ba3611701eed57e163172aefc453 /settings/accounts/ui/MastodonSettingsDisplay.qml | |
| parent | 0b9869b23af94f1935839568d62fa7b849f9e5d0 (diff) | |
translation
Diffstat (limited to 'settings/accounts/ui/MastodonSettingsDisplay.qml')
| -rw-r--r-- | settings/accounts/ui/MastodonSettingsDisplay.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/settings/accounts/ui/MastodonSettingsDisplay.qml b/settings/accounts/ui/MastodonSettingsDisplay.qml index be79e3a..a9e2c5a 100644 --- a/settings/accounts/ui/MastodonSettingsDisplay.qml +++ b/settings/accounts/ui/MastodonSettingsDisplay.qml @@ -28,6 +28,13 @@ StandardAccountSettingsDisplay { syncServicesRepeater.model = syncServices otherServicesDisplay.serviceModel = otherServices + var credentialsUserName = root.account.defaultCredentialsUserName + ? root.account.defaultCredentialsUserName.toString().trim() + : "" + if (credentialsUserName.length > 0 && root.account.displayName !== credentialsUserName) { + root.account.displayName = credentialsUserName + } + var autoSync = root.account.configurationValues("")["FeedViewAutoSync"] var isNewAccount = root.autoEnableAccount eventsSyncSwitch.checked = (isNewAccount || autoSync === true) |
