diff --git a/src/Configs/Constants.vala b/src/Configs/Constants.vala index 0b682d1..2f9f9d8 100644 --- a/src/Configs/Constants.vala +++ b/src/Configs/Constants.vala @@ -34,10 +34,10 @@ namespace App.Configs { public abstract const string SEARCH = "search/"; // API KEY for production, only use this key in releases for AppCenter - //public abstract const string ACCESS_KEY_UNSPLASH = "db4d69677b2838dfc4f9ef73ee79dcde8412472617bc96adefde321bd08a76f2"; + public abstract const string ACCESS_KEY_UNSPLASH = "db4d69677b2838dfc4f9ef73ee79dcde8412472617bc96adefde321bd08a76f2"; // API KEY for development, only use this key in updates and fixes - public abstract const string ACCESS_KEY_UNSPLASH = "51531311dfa090ab81321cd2655e73c59b3d952b5966ed42e861fa7d50da47e8"; + //public abstract const string ACCESS_KEY_UNSPLASH = "51531311dfa090ab81321cd2655e73c59b3d952b5966ed42e861fa7d50da47e8"; public abstract const string URI_PAGE = API_UNSPLASH + GET + ACCESS_KEY_UNSPLASH; public abstract const string URI_SEARCH_PAGE = API_UNSPLASH + SEARCH + GET + ACCESS_KEY_UNSPLASH; diff --git a/src/Views/CardPhotoView.vala b/src/Views/CardPhotoView.vala index f1faac0..2c9e226 100644 --- a/src/Views/CardPhotoView.vala +++ b/src/Views/CardPhotoView.vala @@ -259,6 +259,12 @@ namespace App.Views { bar.margin_start = 4; bar.margin_end = 4; + bar.notify["fraction"].connect(() => { + if (bar.fraction == 1.0) { + bar.visible = false; + } + }); + /****************************************** Revealer for progress ******************************************/