A local-first personal finance app
feat: display client version on settings page
Arthur E. Jones4a49533abaff
diff --git a/packages/desktop-client/src/components/Settings.js b/packages/desktop-client/src/components/Settings.jsindex c3630b4952..44b7f0170d 100644--- a/packages/desktop-client/src/components/Settings.js+++ b/packages/desktop-client/src/components/Settings.js@@ -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