From b95a57080b08926f54c5e590d63ee952b1783275 Mon Sep 17 00:00:00 2001 From: "Arthur E. Jones" <PartyLich@gmail.com> Date: Tue, 19 Jul 2022 19:16:37 -0500 Subject: [PATCH] refactor: adjust version formatting and position --- packages/desktop-client/src/components/Settings.js | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/packages/desktop-client/src/components/Settings.js b/packages/desktop-client/src/components/Settings.js index 4314789db..0f5053bc9 100644 --- a/packages/desktop-client/src/components/Settings.js +++ b/packages/desktop-client/src/components/Settings.js @@ -501,7 +501,8 @@ function Version() { styles.smallText ]} > - v{window.Actual.ACTUAL_VERSION} | {version ? `v${version}` : 'N/A'} + {`App: v${window.Actual.ACTUAL_VERSION}` + + ` | Server: ${version ? `v${version}` : 'N/A'}`} </Text> ); } @@ -529,11 +530,19 @@ class Settings extends React.Component { style={{ flexDirection: 'row', alignSelf: 'center', - margin: '15px 0' + margin: '15px 0 5px 0' }} > <SettingsLink to={`${match.path}/file`} name="File" first={true} /> <SettingsLink to={`${match.path}/global`} name="Global" last={true} /> + </View> + <View + style={{ + flexDirection: 'row', + alignSelf: 'center', + margin: '0 0 10px 0' + }} + > <Version /> </View> -- GitLab