diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2020-11-25 21:31:34 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-25 21:31:34 +0900 |
| commit | 014440850014ee86d766bb07467c2970b17a1fc6 (patch) | |
| tree | ffb652fe1db3365d430ed72ec2c62aaacfbe21fb /src/client/init.ts | |
| parent | フォントレンダリングを調整 (diff) | |
| download | misskey-014440850014ee86d766bb07467c2970b17a1fc6.tar.gz misskey-014440850014ee86d766bb07467c2970b17a1fc6.tar.bz2 misskey-014440850014ee86d766bb07467c2970b17a1fc6.zip | |
nanka iroiro (#6853)
* wip
* Update maps.ts
* wip
* wip
* wip
* wip
* Update base.vue
* wip
* wip
* wip
* wip
* Update link.vue
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update privacy.vue
* wip
* wip
* wip
* wip
* Update range.vue
* wip
* wip
* wip
* wip
* Update profile.vue
* wip
* Update a.vue
* Update index.vue
* wip
* Update sidebar.vue
* wip
* wip
* Update account-info.vue
* Update a.vue
* wip
* wip
* Update sounds.vue
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update account-info.vue
* Update account-info.vue
* wip
* wip
* wip
* Update d-persimmon.json5
* wip
Diffstat (limited to 'src/client/init.ts')
| -rw-r--r-- | src/client/init.ts | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/client/init.ts b/src/client/init.ts index cc97947c0a..9294733bbb 100644 --- a/src/client/init.ts +++ b/src/client/init.ts @@ -16,7 +16,8 @@ import { router } from './router'; import { applyTheme } from '@/scripts/theme'; import { isDeviceDarkmode } from '@/scripts/is-device-darkmode'; import { i18n, lang } from './i18n'; -import { stream, sound, isMobile, dialog } from '@/os'; +import { stream, isMobile, dialog } from '@/os'; +import * as sound from './scripts/sound'; console.info(`Misskey v${version}`); @@ -50,7 +51,7 @@ if (_DEV_) { document.addEventListener('touchend', () => {}, { passive: true }); if (localStorage.getItem('theme') == null) { - applyTheme(require('@/themes/l-white.json5')); + applyTheme(require('@/themes/l-light.json5')); } //#region SEE: https://css-tricks.com/the-trick-to-viewport-units-on-mobile/ @@ -307,7 +308,7 @@ if (store.getters.isSignedIn) { hasUnreadMessagingMessage: true }); - sound('chatBg'); + sound.play('chatBg'); }); main.on('readAllAntennas', () => { @@ -321,7 +322,7 @@ if (store.getters.isSignedIn) { hasUnreadAntenna: true }); - sound('antenna'); + sound.play('antenna'); }); main.on('readAllAnnouncements', () => { @@ -341,7 +342,7 @@ if (store.getters.isSignedIn) { hasUnreadChannel: true }); - sound('channel'); + sound.play('channel'); }); main.on('readAllAnnouncements', () => { |