Skip to content

Commit

Permalink
fix: Updated some auto-update UX copy to be more accurate. (microsoft…
Browse files Browse the repository at this point in the history
…#2744)

* Updated some auto-update UX copy to be more accurate.

* Fixed failing test.
  • Loading branch information
tonyanziano authored Apr 22, 2020
1 parent a38b2dc commit a501e9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ describe('<AppUpdater />', () => {
getByText('New update available');
getByText('Bot Framework Composer v1.0.0');
getByText('Install the update and restart Composer.');
getByText('Download the new version manually.');
getByText('Download now and install when you close Composer.');
});

it('should render the update unavailable dialog', () => {
Expand Down
4 changes: 2 additions & 2 deletions Composer/packages/client/src/components/AppUpdater/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export const AppUpdater: React.FC<{}> = _props => {
},
{
key: downloadOptions.downloadOnly,
text: formatMessage('Download the new version manually.'),
text: formatMessage('Download now and install when you close Composer.'),
onRenderField: SelectOption,
},
]}
Expand Down Expand Up @@ -175,7 +175,7 @@ export const AppUpdater: React.FC<{}> = _props => {
const text =
downloadOption === downloadOptions.installAndUpdate
? formatMessage('Composer will restart.')
: formatMessage('Composer will update the next time you start the app.');
: formatMessage('Composer will update the next time you close the app.');
return <p css={dialogCopy}>{text}</p>;
}

Expand Down

0 comments on commit a501e9e

Please sign in to comment.