We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bf7869 commit 0e5b05eCopy full SHA for 0e5b05e
src/windows/details_window.vala
@@ -252,7 +252,8 @@ namespace AppManager {
252
253
// Version card (only show if version is known)
254
if (record.version != null && record.version.strip() != "") {
255
- var version_card = create_info_card("v%s".printf(record.version));
+ var version_text = record.version.strip();
256
+ var version_card = create_info_card(version_text.get_char(0).isdigit() ? "v%s".printf(version_text) : version_text);
257
version_card.set_tooltip_text(_("App version"));
258
cards_box.append(version_card);
259
}
0 commit comments