Reworked some about menu

This commit is contained in:
gdlbo
2022-05-02 12:40:57 +03:00
parent ea7641278a
commit 3c79cb3ef5
2 changed files with 5 additions and 1 deletions
@@ -61,6 +61,6 @@ public class About {
}
public static String getAppVersion() throws IOException {
return "VTLite | " + VERSIONNAME + " | " + getBuildNumber();
return getApplicationName() + " " + VERSIONNAME + " | " + getBuildNumber();
}
}
@@ -207,6 +207,10 @@ public class Globals {
});
}
public static String getApplicationName() {
return getContext().getApplicationInfo().loadLabel(getContext().getPackageManager()).toString();
}
// Language changer and BaseContext inject
public static Context BaseContextLocale(Context context) {
Locale locale = new Locale(getLocale());