fix: do not show commit hash mismatch in flatpak container

This commit is contained in:
saturneric 2025-02-16 13:36:01 +01:00
parent 9f9a624c0b
commit 6b0ca127c8

View File

@ -192,7 +192,7 @@ void UpdateTab::slot_show_version_status() {
"</center>");
upgrade_label_->show();
upgrade_info_box_->show();
} else if (is_git_commit_hash_mismatch != 0) {
} else if (is_git_commit_hash_mismatch != 0 && !GFIsFlatpakENV()) {
upgrade_label_->setText(
"<center>" +
tr("The current version's commit hash does not match the official "