Reworked some about menu
This commit is contained in:
@@ -61,6 +61,6 @@ public class About {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static String getAppVersion() throws IOException {
|
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
|
// Language changer and BaseContext inject
|
||||||
public static Context BaseContextLocale(Context context) {
|
public static Context BaseContextLocale(Context context) {
|
||||||
Locale locale = new Locale(getLocale());
|
Locale locale = new Locale(getLocale());
|
||||||
|
|||||||
Reference in New Issue
Block a user