Lagrange [work/v1.7]

App: Fixed init of UI palette on first run

=> 43b501275c482c0ec30a68edd694f77748bedd3a

diff --git a/src/app.c b/src/app.c
index 555206a9..49746560 100644
--- a/src/app.c
+++ b/src/app.c
@@ -729,6 +729,7 @@ static void init_App_(iApp *d, int argc, char **argv) {
     setupApplication_iOS();
 #endif
     init_Keys();
+    setThemePalette_Color(d->prefs.theme); /* default UI colors */
     loadPrefs_App_(d);
     load_Keys(dataDir_App_());
     d->window = new_Window(d->initialWindowRect);
diff --git a/src/ui/window.c b/src/ui/window.c
index cd8f2e12..2babb6e1 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -59,7 +59,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
 
 static iWindow *theWindow_ = NULL;
 
-#if defined (iPlatformApple) || defined (iPlatformLinux)
+#if defined (iPlatformApple) || defined (iPlatformLinux) || defined (iPlatformOther)
 static float initialUiScale_ = 1.0f;
 #else
 static float initialUiScale_ = 1.1f;
Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.7/cdiff/43b501275c482c0ec30a68edd694f77748bedd3a
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
59.473189 milliseconds
Gemini-to-HTML Time
0.226886 milliseconds

This content has been proxied by September (ba2dc).