File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
src/renderer/features/settings/components Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @posthog/array" ,
3- "version" : " 0.11 .0" ,
3+ "version" : " 0.12 .0" ,
44 "description" : " Array - PostHog desktop task manager" ,
55 "main" : " .vite/build/index.js" ,
66 "versionHash" : " dynamic" ,
Original file line number Diff line number Diff line change @@ -77,6 +77,11 @@ export function SettingsView() {
7777 queryFn : ( ) => window . electronAPI . settings . getWorktreeLocation ( ) ,
7878 } ) ;
7979
80+ const { data : appVersion } = useQuery ( {
81+ queryKey : [ "app" , "version" ] ,
82+ queryFn : ( ) => window . electronAPI . getAppVersion ( ) ,
83+ } ) ;
84+
8085 const [ localWorktreeLocation , setLocalWorktreeLocation ] =
8186 useState < string > ( "" ) ;
8287
@@ -370,6 +375,17 @@ export function SettingsView() {
370375 </ Flex >
371376 ) }
372377
378+ { appVersion && (
379+ < Flex direction = "column" gap = "2" >
380+ < Text size = "1" weight = "medium" >
381+ Version
382+ </ Text >
383+ < Text size = "1" color = "gray" >
384+ { appVersion }
385+ </ Text >
386+ </ Flex >
387+ ) }
388+
373389 { ! isAuthenticated && (
374390 < Text size = "1" color = "gray" >
375391 You are not currently authenticated. Please sign in from the
You can’t perform that action at this time.
0 commit comments