Skip to content

Commit

Permalink
Tweak update UX (#1554)
Browse files Browse the repository at this point in the history
  • Loading branch information
goosewobbler authored May 22, 2023
1 parent 3af513c commit 5c76115
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions app/tray/Badge/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,26 @@ class Bridge extends React.Component {
<div className='badgeWrap'>
<div className='badge cardShow' style={{ transform: 'translateY(0px)', height: '196px' }}>
<div className='badgeInner'>
<div className='badgeMessage'>Your update is ready, relaunch Frame to switch</div>
<div className='badgeMessage'>Your update is ready, restart Frame to switch?</div>
<div className='badgeInput'>
<div className='badgeInputButton'>
<div
className='badgeInputInner'
onMouseDown={() => link.send('tray:action', 'updateBadge', '')}
onMouseDown={() => link.send('tray:updateRestart')}
style={{ color: 'var(--good)' }}
>
Ok
Restart Now
</div>
</div>
</div>
<div className='badgeInput'>
<div className='badgeInputButton'>
<div className='badgeInputInner' onMouseDown={() => link.send('tray:updateRestart')}>
Relaunch Now
<div
className='badgeInputInner'
onMouseDown={() => link.send('tray:action', 'updateBadge', '')}
style={{ color: 'var(--moon)' }}
>
Restart Later
</div>
</div>
</div>
Expand Down

0 comments on commit 5c76115

Please sign in to comment.