@@ -132,21 +132,23 @@ function ProviderSetupActions({
132132 const queryError = authQuery . error ?? installQuery . error ;
133133 const actionsDisabled = pendingLabel !== null || queryError !== null ;
134134 const installationStatusMessage =
135- installation ?. phase === "downloading"
136- ? `Downloading ${ ( installation . downloadedBytes / 1_000_000 ) . toFixed ( 1 ) } MB${ installation . totalBytes === null ? "" : ` of ${ ( installation . totalBytes / 1_000_000 ) . toFixed ( 1 ) } MB` } .`
137- : installation ?. phase === "extracting"
138- ? "Extracting Antigravity."
139- : installation ?. phase === "verifying"
140- ? "Checking the downloaded runtime."
141- : installed
142- ? "Installed."
143- : usesCustomBinary
144- ? enabled
145- ? "The configured Antigravity runtime is unavailable."
146- : "The configured Antigravity runtime has not been checked."
147- : installation ?. totalBytes
148- ? `${ Math . ceil ( installation . totalBytes / 1_000_000 ) } MB download.`
149- : "Not installed." ;
135+ installation === null
136+ ? "Checking the Antigravity runtime."
137+ : installation ?. phase === "downloading"
138+ ? `Downloading ${ ( installation . downloadedBytes / 1_000_000 ) . toFixed ( 1 ) } MB${ installation . totalBytes === null ? "" : ` of ${ ( installation . totalBytes / 1_000_000 ) . toFixed ( 1 ) } MB` } .`
139+ : installation ?. phase === "extracting"
140+ ? "Extracting Antigravity."
141+ : installation ?. phase === "verifying"
142+ ? "Checking the downloaded runtime."
143+ : installed
144+ ? "Installed."
145+ : usesCustomBinary
146+ ? enabled
147+ ? "The configured Antigravity runtime is unavailable."
148+ : "The configured Antigravity runtime has not been checked."
149+ : installation ?. totalBytes
150+ ? `${ Math . ceil ( installation . totalBytes / 1_000_000 ) } MB download.`
151+ : "Not installed." ;
150152
151153 async function runCommand < A , E > (
152154 label : string ,
@@ -257,7 +259,7 @@ function ProviderSetupActions({
257259 < Button
258260 size = "sm"
259261 variant = "outline"
260- disabled = { actionsDisabled || installation === null || authActive }
262+ disabled = { actionsDisabled || authActive }
261263 onClick = { ( ) =>
262264 void runCommand ( "Starting installation" , ( ) => startInstall ( target ) )
263265 }
0 commit comments