diff --git a/src/app/synchronization/pages/synchronize-mastodon/synchronize-mastodon.component.html b/src/app/synchronization/pages/synchronize-mastodon/synchronize-mastodon.component.html index 976d4e4..df0ac23 100644 --- a/src/app/synchronization/pages/synchronize-mastodon/synchronize-mastodon.component.html +++ b/src/app/synchronization/pages/synchronize-mastodon/synchronize-mastodon.component.html @@ -7,20 +7,33 @@

Setup OAuth

- Before you can synchronize your settings, you must create an OAuth app and put its credentials here. - Any settings you put here are only stored in your browser. + Before you can synchronize your settings, you must create an + OAuth app and put its + credentials here. Any settings you put here are only stored in your browser.

-

Your OAuth app settings should include this redirect uri: {{redirectUrl}}

+

Your OAuth app needs these settings:

+
- - + +
- +
@@ -46,11 +59,13 @@

Synchronization

- +
- If enabled, the censure reasons will be displayed publicly in your Mastodon blocklist, otherwise they'll be visible as a private note. + If enabled, the censure reasons will be displayed publicly in your Mastodon blocklist, otherwise they'll + be visible as a private note.
@@ -60,7 +75,7 @@

Synchronization

Preview

- +
diff --git a/src/app/synchronization/pages/synchronize-mastodon/synchronize-mastodon.component.ts b/src/app/synchronization/pages/synchronize-mastodon/synchronize-mastodon.component.ts index b760a34..02991d6 100644 --- a/src/app/synchronization/pages/synchronize-mastodon/synchronize-mastodon.component.ts +++ b/src/app/synchronization/pages/synchronize-mastodon/synchronize-mastodon.component.ts @@ -21,6 +21,8 @@ import {NormalizedInstanceDetailResponse} from "../../../response/normalized-ins styleUrls: ['./synchronize-mastodon.component.scss'] }) export class SynchronizeMastodonComponent implements OnInit { + protected readonly currentInstance = this.authManager.currentInstanceSnapshot.name; + private syncSettings: MastodonSynchronizationSettings = this.database.mastodonSynchronizationSettings; public oauthForm = new FormGroup({