Skip to content

Commit

Permalink
npm run format
Browse files Browse the repository at this point in the history
  • Loading branch information
Oran-Dan committed Feb 27, 2024
1 parent 426dd3a commit 2b7f19b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
22 changes: 14 additions & 8 deletions unime/src/lib/connections/ConnectionSummary.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,20 @@
let summary = {
URL: connection.url,
// Verified: 'no',
[$LL.CONNECTION.SUMMARY.FIRST_CONNECTED()]: new Date(connection.first_interacted).toLocaleString($state.profile_settings.locale, {
dateStyle: 'medium',
timeStyle: 'medium',
}),
[$LL.CONNECTION.SUMMARY.LAST_CONNECTED()]: new Date(connection.last_interacted).toLocaleString($state.profile_settings.locale, {
dateStyle: 'medium',
timeStyle: 'medium',
}),
[$LL.CONNECTION.SUMMARY.FIRST_CONNECTED()]: new Date(connection.first_interacted).toLocaleString(
$state.profile_settings.locale,
{
dateStyle: 'medium',
timeStyle: 'medium',
},
),
[$LL.CONNECTION.SUMMARY.LAST_CONNECTED()]: new Date(connection.last_interacted).toLocaleString(
$state.profile_settings.locale,
{
dateStyle: 'medium',
timeStyle: 'medium',
},
),
};
</script>

Expand Down
3 changes: 2 additions & 1 deletion unime/src/routes/(app)/me/settings/app/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
icon={Translate}
title={$LL.SETTINGS.APP.LANGUAGE.TITLE()}
hasCaretRight={false}
textRight={locales.find((l) => l.locale === $state.profile_settings.locale)?.displayName ?? $state.profile_settings.locale}
textRight={locales.find((l) => l.locale === $state.profile_settings.locale)?.displayName ??
$state.profile_settings.locale}
on:click={() => goto('/me/settings/app/language')}
/>
<SettingsEntry icon={Sun} title={$LL.SETTINGS.APP.THEME.TITLE()} on:click={() => goto('/me/settings/app/theme')} />
Expand Down

0 comments on commit 2b7f19b

Please sign in to comment.