Skip to content

Commit ba51f5f

Browse files
committed
Rename function
1 parent 3a02fef commit ba51f5f

15 files changed

+30
-30
lines changed

src/components/DonutChart.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default {
1414
import { Doughnut } from 'vue-chartjs';
1515
import { Chart as ChartJS, ArcElement, Tooltip, Legend } from 'chart.js';
1616
import { convertSummaryTimeToString } from '../utils/converter';
17-
import { injecStorage } from '../storage/inject-storage';
17+
import { injectStorage } from '../storage/inject-storage';
1818
import { onMounted, ref } from 'vue';
1919
import { DARK_MODE_DEFAULT, StorageParams } from '../storage/storage-params';
2020
@@ -23,7 +23,7 @@ const props = defineProps<{
2323
labels: string[];
2424
}>();
2525
26-
const settingsStorage = injecStorage();
26+
const settingsStorage = injectStorage();
2727
const darkMode = ref();
2828
const data = ref();
2929
const options = ref();

src/components/GeneralSettings.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export default {
138138
<script lang="ts" setup>
139139
import { onMounted, ref } from 'vue';
140140
import { useI18n } from 'vue-i18n';
141-
import { injecStorage } from '../storage/inject-storage';
141+
import { injectStorage } from '../storage/inject-storage';
142142
import { useNotification } from '@kyvg/vue3-notification';
143143
import {
144144
BLOCK_DEFERRAL_DEFAULT,
@@ -159,7 +159,7 @@ import { applyDarkMode } from '../utils/dark-mode';
159159
160160
const { t } = useI18n();
161161
162-
const settingsStorage = injecStorage();
162+
const settingsStorage = injectStorage();
163163
const notification = useNotification();
164164
165165
const viewTimeInBadge = ref<boolean>();

src/components/HourlyChart.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {
2121
CategoryScale,
2222
} from 'chart.js';
2323
import { onMounted, ref } from 'vue';
24-
import { injecStorage } from '../storage/inject-storage';
24+
import { injectStorage } from '../storage/inject-storage';
2525
import { StorageDeserializeParam } from '../storage/storage-params';
2626
import { TimeInterval } from '../entity/time-interval';
2727
import { todayLocalDate } from '../utils/date';
@@ -42,7 +42,7 @@ type DomainsInterval = {
4242
domain: string;
4343
};
4444
45-
const storage = injecStorage();
45+
const storage = injectStorage();
4646
4747
ChartJS.register(CategoryScale, LinearScale, BarElement, Title, Tooltip, Legend);
4848

src/components/ListWithTime.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ import Favicon from './Favicon.vue';
6363
import { getFavicon } from '../utils/favicon';
6464
import { useNotification } from '@kyvg/vue3-notification';
6565
import { useI18n } from 'vue-i18n';
66-
import { injecStorage } from '../storage/inject-storage';
66+
import { injectStorage } from '../storage/inject-storage';
6767
import { Time } from '../utils/time';
6868
import { computed, onMounted, ref } from 'vue';
6969
import { ListWithTime, TypeOfUrl } from '../utils/enums';
@@ -82,7 +82,7 @@ const props = defineProps<{
8282
}>();
8383
8484
const notification = useNotification();
85-
const settingsStorage = injecStorage();
85+
const settingsStorage = injectStorage();
8686
8787
const list = ref<BaseTimeList[]>();
8888
const isEdit = ref<boolean>();

src/components/Notifications.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default {
6464
<script lang="ts" setup>
6565
import { onMounted, ref } from 'vue';
6666
import { useI18n } from 'vue-i18n';
67-
import { injecStorage } from '../storage/inject-storage';
67+
import { injectStorage } from '../storage/inject-storage';
6868
import { NOTIFICATION_MESSAGE_DEFAULT, StorageParams } from '../storage/storage-params';
6969
import {
7070
DAILY_NOTIFICATION_DEFAULT,
@@ -80,7 +80,7 @@ import { Messages } from '../utils/messages';
8080
8181
const { t } = useI18n();
8282
83-
const settingsStorage = injecStorage();
83+
const settingsStorage = injectStorage();
8484
8585
const showDailyNotifacation = ref<boolean>();
8686
const dailyNotificationTime = ref<number>();

src/components/Pomodoro.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default {
7171
import { Ref, computed, onMounted, ref } from 'vue';
7272
import { convertHHMMToSeconds, convertSecondsToHHMM } from '../utils/converter';
7373
import { useI18n } from 'vue-i18n';
74-
import { injecStorage } from '../storage/inject-storage';
74+
import { injectStorage } from '../storage/inject-storage';
7575
import {
7676
IS_POMODORO_ENABLED_DEFAULT,
7777
POMODORO_AUDIO_AFTER_FINISHED_DEFAULT,
@@ -90,7 +90,7 @@ import PomodoroSoundsSelector from '../components/PomodoroSoundsSelector.vue';
9090
import Browser from 'webextension-polyfill';
9191
9292
const { t } = useI18n();
93-
const settingsStorage = injecStorage();
93+
const settingsStorage = injectStorage();
9494
9595
const workTime = ref<Time>({
9696
hours: 0,

src/components/PomodoroInfo.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ export default {
2121
import { onMounted, ref } from 'vue';
2222
import { StorageParams, IS_POMODORO_ENABLED_DEFAULT } from '../storage/storage-params';
2323
import { useI18n } from 'vue-i18n';
24-
import { injecStorage } from '../storage/inject-storage';
24+
import { injectStorage } from '../storage/inject-storage';
2525
import { openPage } from '../utils/open-page';
2626
import { SettingsTab } from '../utils/enums';
2727
import { checkPomodoro } from '../functions/pomodoro';
2828
2929
const { t } = useI18n();
30-
const settingsStorage = injecStorage();
30+
const settingsStorage = injectStorage();
3131
3232
const isEnabled = ref<boolean>();
3333
const isWorkingTime = ref<boolean>();

src/components/PomodoroSoundsSelector.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default {
2929
import { ref } from 'vue';
3030
import { useI18n } from 'vue-i18n';
3131
import { PomodoroAudioParams, PomodoroSounds } from '../utils/pomodoro';
32-
import { injecStorage } from '../storage/inject-storage';
32+
import { injectStorage } from '../storage/inject-storage';
3333
import { playSound } from '../functions/playSound';
3434
3535
const props = defineProps<{
@@ -38,7 +38,7 @@ const props = defineProps<{
3838
}>();
3939
4040
const { t } = useI18n();
41-
const settingsStorage = injecStorage();
41+
const settingsStorage = injectStorage();
4242
const audioAfterPeriod = ref<PomodoroSounds>(props.value);
4343
4444
function playAudio() {

src/components/PromoClearYouTube.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default {
1717
<script lang="ts" setup>
1818
import { ref } from 'vue';
1919
import { useI18n } from 'vue-i18n';
20-
import { injecStorage } from '../storage/inject-storage';
20+
import { injectStorage } from '../storage/inject-storage';
2121
import { StorageParams } from '../storage/storage-params';
2222
import { CHROME_STORE_CLEAR_YOUTUBE_URL } from '../utils/chrome-url';
2323
import { usePromoExtension } from '../compositions/usePromoExtension';
@@ -26,7 +26,7 @@ import { useExtensionPage } from '../compositions/useExtensionPage';
2626
2727
const { t } = useI18n();
2828
29-
const settingsStorage = injecStorage();
29+
const settingsStorage = injectStorage();
3030
const extensionPage = useExtensionPage();
3131
3232
const showReview = ref<boolean>(true);

src/components/Review.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ export default {
1515
<script lang="ts" setup>
1616
import { onMounted, ref } from 'vue';
1717
import { useI18n } from 'vue-i18n';
18-
import { injecStorage } from '../storage/inject-storage';
18+
import { injectStorage } from '../storage/inject-storage';
1919
import { StorageParams } from '../storage/storage-params';
2020
import { addDays, startOfToday } from 'date-fns';
2121
import { addHours } from 'date-fns/esm';
2222
import { CHROME_STORE_REVIEW_URL } from '../utils/chrome-url';
2323
2424
const { t } = useI18n();
2525
26-
const settingsStorage = injecStorage();
26+
const settingsStorage = injectStorage();
2727
const PROMPT_AT_TIME_OF_DAY = 12;
2828
const ADD_DAYS_FIRST = 2;
2929
const ADD_DAYS_NEXT = 5;

0 commit comments

Comments
 (0)