mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-30 08:53:17 +00:00
44 lines
1.1 KiB
PHP
44 lines
1.1 KiB
PHP
|
<?php
|
||
|
|
||
|
namespace App\Services\Account;
|
||
|
|
||
|
use App\Models\UserAppSettings;
|
||
|
|
||
|
class AccountAppSettingsService
|
||
|
{
|
||
|
public static function default()
|
||
|
{
|
||
|
return [
|
||
|
'timelines' => [
|
||
|
// Show public timeline feed
|
||
|
'show_public' => false,
|
||
|
|
||
|
// Show network timeline feed
|
||
|
'show_network' => false,
|
||
|
|
||
|
// Hide likes and share counts
|
||
|
'hide_likes_shares' => false,
|
||
|
],
|
||
|
|
||
|
'media' => [
|
||
|
// Hide media on Public/Network timelines behind CW
|
||
|
'hide_public_behind_cw' => true,
|
||
|
|
||
|
// Always show media with CW
|
||
|
'always_show_cw' => false,
|
||
|
|
||
|
// Show alt text if present below media
|
||
|
'show_alt_text' => false,
|
||
|
],
|
||
|
|
||
|
'appearance' => [
|
||
|
// Use in-app browser when opening links
|
||
|
'links_use_in_app_browser' => true,
|
||
|
|
||
|
// App theme, can be 'light', 'dark' or 'system'
|
||
|
'theme' => 'system',
|
||
|
]
|
||
|
];
|
||
|
}
|
||
|
}
|