Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
Fix #26
Browse files Browse the repository at this point in the history
The import and export icons were switched
  • Loading branch information
Dlurak committed Apr 17, 2024
1 parent aef1bfa commit dd1aaa8
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions src/enums/svocal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ export enum SvocalKeys {
LAUNCHER_OUTLINE = 'launcher.outline',

/**
* Default: false
*/
* Default: false
*/
TIME_TABLE_AUTOCOMPLETE = 'timetable.use',

/**
* Default: false
*/
TEXT_IN_NAV = 'textInNav',
* Default: false
*/
TEXT_IN_NAV = 'textInNav'
}
2 changes: 1 addition & 1 deletion src/lib/layout/settings.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script>
import { onMount } from 'svelte';
import { backendUrl } from '../../stores';
import { getLocalstorageString } from '$lib/localstorage';
import { getLocalstorageString } from '$lib/localstorage';
import { PUBLIC_API_URL } from '$env/static/public';
onMount(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/navbar/NavItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
export let title: Title;
let showText = localstorage(SvocalKeys.TEXT_IN_NAV, false)
let showText = localstorage(SvocalKeys.TEXT_IN_NAV, false);
let text = i(`nav.${title}`, {}, {
transform: 'capitalize'
Expand Down
4 changes: 2 additions & 2 deletions src/lib/navbar/NavSearchButton.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import I18n from '$lib/I18n.svelte';
import { SvocalKeys } from '../../enums/svocal';
import { showLauncher } from '../../stores';
import { localstorage } from "svocal"
import { localstorage } from 'svocal';
const showText = localstorage(SvocalKeys.TEXT_IN_NAV, false)
const showText = localstorage(SvocalKeys.TEXT_IN_NAV, false);
</script>

<button
Expand Down
4 changes: 2 additions & 2 deletions src/routes/settings/timetable/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
a.click();
}}
>
<i class="bx bx-download" />
<i class="bx bx-upload" />
<I18n key="settings.timetable.export" />
</button>
<button
Expand Down Expand Up @@ -132,7 +132,7 @@
}
}}
>
<i class="bx bx-upload" />
<i class="bx bx-download" />
<I18n key="settings.timetable.import" />
</button>
</div>
Expand Down

0 comments on commit dd1aaa8

Please sign in to comment.