diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php
index b7fac6c7..7ef42a73 100644
--- a/lib/AppInfo/Application.php
+++ b/lib/AppInfo/Application.php
@@ -60,7 +60,7 @@ class Application extends App implements IBootstrap {
$context->registerSearchProvider(UnifiedSearchProvider::class);
$context->registerWellKnownHandler(WebfingerHandler::class);
$context->registerEventListener(BeforeTemplateRenderedEvent::class, ProfileSectionListener::class);
-// $context->registerDashboardWidget(SocialWidget::class);
+ $context->registerDashboardWidget(SocialWidget::class);
}
public function boot(IBootContext $context): void {
diff --git a/src/components/Composer/Composer.vue b/src/components/Composer/Composer.vue
index 0b43ce36..14b167df 100644
--- a/src/components/Composer/Composer.vue
+++ b/src/components/Composer/Composer.vue
@@ -169,13 +169,13 @@ export default {
},
defaultVisibility: {
type: String,
- default: localStorage.getItem('social.lastPostType') || 'followers',
+ default: undefined,
},
},
data() {
return {
statusContent: '',
- visibility: this.defaultVisibility,
+ visibility: this.defaultVisibility || localStorage.getItem('social.lastPostType') || 'followers',
loading: false,
/** @type {Object{{ displayName }}
@@ -57,6 +57,9 @@
{{ t('social', 'Website') }}: {{ website.value }}