Skip to content

Commit

Permalink
fix(settings): show current version
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonGolms committed Jan 19, 2021
1 parent 282e676 commit 8dcf2b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/Settings/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react';

import { useDispatch, useSelector } from 'react-redux';
import {
IonButtons,
Expand All @@ -22,6 +21,7 @@ import {
} from '@ionic/react';
import './index.css';
import { useTranslation } from 'react-i18next';
import { version } from '../../../package.json';
import { I18N_LANGUAGES_SUPPORTED } from '../../i18n';
import { colorPaletteOutline, languageOutline } from 'ionicons/icons';
import { THEMES } from '../../utils/theme';
Expand Down Expand Up @@ -113,7 +113,7 @@ export const SettingsPage: React.FC = () => {
</IonListHeader>
<IonItem>
<IonLabel>{t('SETTINGS.GENERAL.ITEMS.VERSION.LABEL')}</IonLabel>
<IonNote slot="end">0.0.1</IonNote>
<IonNote slot="end">{version}</IonNote>
</IonItem>
<IonItem className="ion-text-wrap">
<IonLabel>{t('SETTINGS.GENERAL.ITEMS.COPYRIGHT.LABEL')}</IonLabel>
Expand Down

0 comments on commit 8dcf2b5

Please sign in to comment.