diff --git a/data/com.github.subhadeepjasu.pebbles.appdata.xml.in b/data/com.github.subhadeepjasu.pebbles.appdata.xml.in index b2aa7d25..36e5fe01 100644 --- a/data/com.github.subhadeepjasu.pebbles.appdata.xml.in +++ b/data/com.github.subhadeepjasu.pebbles.appdata.xml.in @@ -93,6 +93,15 @@ none + + +

Improved:

+
    +
  • [Converter] Upgrade to v7 of free currency converter API
  • +
  • [Converter] Added Argentina Peso currency
  • +
+
+

Translations:

diff --git a/hot_reload.sh b/hot_reload.sh index 242dbbeb..fa915503 100755 --- a/hot_reload.sh +++ b/hot_reload.sh @@ -1,4 +1,3 @@ meson _build --prefix=/usr -cd _build/ -sudo ninja install +sudo ninja -C _build install com.github.subhadeepjasu.pebbles diff --git a/meson.build b/meson.build index 04ad6af7..9cc25113 100644 --- a/meson.build +++ b/meson.build @@ -2,7 +2,7 @@ project ( 'com.github.subhadeepjasu.pebbles', 'vala', 'c', - version: '2.0.4', + version: '2.0.5', ) # GNOME module diff --git a/src/Core/CurrencyConverter.vala b/src/Core/CurrencyConverter.vala index 6299d9fd..e5f94707 100644 --- a/src/Core/CurrencyConverter.vala +++ b/src/Core/CurrencyConverter.vala @@ -12,7 +12,7 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * - * You should have received a copy of the GNU General Public License + * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Authored by: Subhadeep Jasu @@ -45,7 +45,7 @@ namespace Pebbles { }; private int currencyCount = 12; - public double[] muliplier_info; + public double[] muliplier_info; public signal void currency_updated (double[] currency_multipliers); public signal void update_failed (); @@ -94,7 +94,7 @@ namespace Pebbles { public bool request_multiplier (string coin_iso_a, string coin_iso_b, int index) { var settings = Settings.get_default (); var api_key = settings.forex_api_key; - var uri = """https://free.currencyconverterapi.com/api/v6/convert?q=%s_%s&compact=y&apiKey=%s""".printf(coin_iso_a, coin_iso_b, api_key); + var uri = """https://free.currconv.com/api/v7/convert?q=%s_%s&compact=y&apiKey=%s""".printf(coin_iso_a, coin_iso_b, api_key); var session = new Soup.Session (); var message = new Soup.Message ("GET", uri); double avg = 0.0;