From 03c6198e7616ea11af506adba56ed96e8e792e79 Mon Sep 17 00:00:00 2001 From: nesnomis Date: Sun, 1 Jun 2025 10:10:15 +0200 Subject: [PATCH] Get rid of alpha_2 error (i think) --- qml/pages/AllRadio.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qml/pages/AllRadio.qml b/qml/pages/AllRadio.qml index 49fadde..8466004 100644 --- a/qml/pages/AllRadio.qml +++ b/qml/pages/AllRadio.qml @@ -318,7 +318,8 @@ Page { HeaderButton { visible: playedCountries.count > 1 - headerText: playedCountries.count > 0 ? "Trending in " + radioBrowser.getCountryName(playedCountries.get(1).alpha_2) : "Trending in " + radioBrowser.getCountryName(_country) +// headerText: playedCountries.count > 0 ? "Trending in " + radioBrowser.getCountryName(playedCountries.get(1).alpha_2) : "Trending in " + radioBrowser.getCountryName(_country) + headerText: playedCountries.count > 1 ? "Trending in " + radioBrowser.getCountryName(playedCountries.get(1).alpha_2) : "Trending in " + radioBrowser.getCountryName(_country) onClicked: pageStack.push("CountryStationsPage.qml",{searchby:"clicktrend",_countrycode: playedCountries.get(1).alpha_2}) }