Skip to content
Snippets Groups Projects
Commit 4a49533a authored by Arthur E. Jones's avatar Arthur E. Jones Committed by James Long
Browse files

feat: display client version on settings page

Shows the @actual-app/web package version as static text on the Settings
component.
parent 33ca432e
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,8 @@ import ExpandArrow from 'loot-design/src/svg/ExpandArrow';
import ExclamationSolid from 'loot-design/src/svg/v1/ExclamationSolid';
import Platform from 'loot-core/src/client/platform';
import { version } from '../../package.json'
let dateFormats = [
{ value: 'MM/dd/yyyy', label: 'MM/DD/YYYY' },
{ value: 'dd/MM/yyyy', label: 'DD/MM/YYYY' },
......@@ -501,6 +503,15 @@ class Settings extends React.Component {
>
<SettingsLink to={`${match.path}/file`} name="File" first={true} />
<SettingsLink to={`${match.path}/global`} name="Global" last={true} />
<Text style={[
{
alignSelf: 'center',
padding: '6px 10px',
},
styles.staticText,
styles.smallText,
]}
>v{ version }</Text>
</View>
<View
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment