API key not needed at compile time instead read from file on run

This commit is contained in:
2023-02-10 21:12:33 -08:00
parent 992a8e9e8d
commit ada6881249
5 changed files with 43 additions and 4 deletions

View File

@@ -43,6 +43,14 @@ Adw.ApplicationWindow mainWindow {
label: "Wince is powered by Yelp";
}
Gtk.Label configNotFoundText {
halign: center;
valign: center;
vexpand: true;
visible: false;
label: "API key not found. You must place your yelp api key in ~/.config/wince/api_key";
}
Adw.Leaflet leaflet {
can-navigate-forward: false;
can-navigate-back: true;