{#if $settings.displayLanguage == 'en'}
Have feedback or suggestions? Send a private message to
@fuwn
on AniList!
{:else if $settings.displayLanguage == 'ja'}
フィードバックや提案はありますか?AniListで
@fuwn
にDMを送ってください!
{/if}
{#if data.user === undefined}
{:else}
{
if (!$settings.settingsSync) {
$settings.settingsSync = true;
fetch(root(`/api/configuration?id=${$identity.id}`)).then((response) => {
if (response.ok) {
response.json().then((data) => {
if (data && data.configuration) {
$settings = data.configuration;
addNotification(
options({
heading: 'Pulled remote configuration'
})
);
} else {
fetch(root(`/api/configuration`), {
method: 'PUT',
body: JSON.stringify($settings)
}).then((response) => {
if (response.ok)
addNotification(
options({
heading: 'Created remote configuration'
})
);
});
}
});
}
});
} else {
$settings.settingsSync = false;
addNotification(
options({
heading: 'Disabled settings sync'
})
);
}
}}
>
{$settings.settingsSync ? 'Disable' : 'Enable'} Settings Sync & {$settings.settingsSync
? 'Keep Local Configuration'
: 'Pull Remote Configuration'}
{
addNotification(
options({
heading: 'RSS feed URL copied to clipboard'
})
);
navigator.clipboard.writeText(
`https://${
env.PUBLIC_ANILIST_REDIRECT_URI?.includes('192.168') ? '192.168.1.60:5173' : 'due.moe'
}/feeds/activity-notifications?token=${data.user.accessToken}&refresh=${
data.user.refreshToken
}`
);
}}
>
{$locale().settings.rssFeeds.buttons.copyToClipboard}
Your AniList notifications RSS feed URL
This e.preventDefault()}
target="_blank"
title={$locale().settings.rssFeeds.tooltips.rss}
use:tooltip
data-tooltip-above>RSS
feed will return the currently logged in AniList user's notification feed for external consumption.
Do not share this link with anyone !
{$locale().settings.debug.title}{data.commit.slice(0, 7)}
{/if}