Don't show "Aseprite is up to date" when there is no new version

This commit is contained in:
David Capello 2021-09-23 15:27:09 -03:00
parent 0c604ca4ba
commit f6322a1373
2 changed files with 1 additions and 4 deletions

View File

@ -740,7 +740,6 @@ recent_files = Recent files:
recent_folders = Recent folders:
news = News:
checking_updates = Checking Updates...
is_up_to_date = {0} is up to date
new_version_available = New {0} v{1} available!
[import_sprite_sheet]

View File

@ -211,9 +211,7 @@ void HomeView::onCheckingUpdates()
void HomeView::onUpToDate()
{
checkUpdate()->setText(
fmt::format(Strings::home_view_is_up_to_date(), get_app_name()));
checkUpdate()->setVisible(true);
checkUpdate()->setVisible(false);
layout();
}