mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 05:14:16 +02:00
[improvement][ui] changing the upgrade summary size style
This commit is contained in:
@@ -30,6 +30,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
- i18n
|
- i18n
|
||||||
- AppImage
|
- AppImage
|
||||||
- Categories are now translated on the Info window
|
- Categories are now translated on the Info window
|
||||||
|
|
||||||
|
- minor UI changes
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
- Flatpak
|
- Flatpak
|
||||||
|
|||||||
@@ -407,7 +407,7 @@ class UpgradeSelected(AsyncAction):
|
|||||||
extra_size_text = '{}: {}'.format(self.i18n['action.update.total_size'].capitalize(), get_human_size_str(extra_size))
|
extra_size_text = '{}: {}'.format(self.i18n['action.update.total_size'].capitalize(), get_human_size_str(extra_size))
|
||||||
req_size_text = '{}: {}'.format(self.i18n['action.update.required_size'].capitalize(),
|
req_size_text = '{}: {}'.format(self.i18n['action.update.required_size'].capitalize(),
|
||||||
get_human_size_str(required_size))
|
get_human_size_str(required_size))
|
||||||
comps.insert(0, TextComponent(bold('{} | {}').format(extra_size_text, req_size_text), size=14))
|
comps.insert(0, TextComponent('{} | {}'.format(extra_size_text, req_size_text), size=14))
|
||||||
comps.insert(1, TextComponent(''))
|
comps.insert(1, TextComponent(''))
|
||||||
|
|
||||||
if not self.request_confirmation(title=self.i18n['action.update.summary'].capitalize(), body='', components=comps,
|
if not self.request_confirmation(title=self.i18n['action.update.summary'].capitalize(), body='', components=comps,
|
||||||
|
|||||||
Reference in New Issue
Block a user