Announce syncing in Preferences

This commit is contained in:
Josh Perez 2023-06-15 11:34:50 -07:00 committed by GitHub
parent 94cd764107
commit c961ea9ef7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -652,6 +652,10 @@ export function Preferences({
right={ right={
<div className="Preferences__right-button"> <div className="Preferences__right-button">
<Button <Button
aria-label={
nowSyncing ? i18n('icu:syncing') : i18n('icu:syncNow')
}
aria-live="polite"
disabled={nowSyncing} disabled={nowSyncing}
onClick={async () => { onClick={async () => {
setShowSyncFailed(false); setShowSyncFailed(false);