summaryrefslogtreecommitdiff
path: root/src/ui/util.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-09-17 19:45:33 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-09-17 19:45:33 +0300
commitf529e9d67a8b5c6e47895ea30d0e00eb28768233 (patch)
tree8e1bb419bbfe64118e4fbc99c071e2086c77fa8c /src/ui/util.c
parent2cff7b47486f8dcf7030626cb926d8c69ba0f655 (diff)
Mobile: About page
Diffstat (limited to 'src/ui/util.c')
-rw-r--r--src/ui/util.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index 5420e5d2..5361250f 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -1948,13 +1948,15 @@ iWidget *makePreferences_Widget(void) {
1948 iString *aboutText = collectNew_String(); { 1948 iString *aboutText = collectNew_String(); {
1949 setCStr_String(aboutText, "Lagrange " LAGRANGE_APP_VERSION); 1949 setCStr_String(aboutText, "Lagrange " LAGRANGE_APP_VERSION);
1950 #if defined (iPlatformAppleMobile) 1950 #if defined (iPlatformAppleMobile)
1951 appendCStr_String(aboutText, " (" LAGRANGE_IOS_VERSION ") \u2014 " LAGRANGE_IOS_BUILD_DATE); 1951 appendFormat_String(aboutText, " (" LAGRANGE_IOS_VERSION ") %s" LAGRANGE_IOS_BUILD_DATE,
1952 escape_Color(uiTextDim_ColorId));
1952 #endif 1953 #endif
1953 } 1954 }
1954 const iMenuItem aboutPanelItems[] = { 1955 const iMenuItem aboutPanelItems[] = {
1955 { format_CStr("heading text:%s", cstr_String(aboutText)) }, 1956 { format_CStr("heading text:%s", cstr_String(aboutText)) },
1956 { "button text:" globe_Icon " By @jk@skyjake.fi", 0, 0, "!open url:https://skyjake.fi/@jk" },
1957 { "button text:" clock_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, 1957 { "button text:" clock_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" },
1958 { "button text:" globe_Icon " ${menu.website}", 0, 0, "!open url:https://gmi.skyjake.fi/lagrange" },
1959 { "button text:" envelope_Icon " @jk@skyjake.fi", 0, 0, "!open url:https://skyjake.fi/@jk" },
1958 { "padding" }, 1960 { "padding" },
1959 { "button text:" info_Icon " ${menu.aboutpages}", 0, 0, "!open url:about:about" }, 1961 { "button text:" info_Icon " ${menu.aboutpages}", 0, 0, "!open url:about:about" },
1960 { "button text:" bug_Icon " ${menu.debug}", 0, 0, "!open url:about:debug" }, 1962 { "button text:" bug_Icon " ${menu.debug}", 0, 0, "!open url:about:debug" },