mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
(Android) Appended the Android version code to the version on the main menu
This commit is contained in:
parent
36bab144ba
commit
aeacf941fb
|
@ -2102,8 +2102,13 @@ void GuiMenu::addVersionInfo()
|
||||||
#if defined(IS_PRERELEASE)
|
#if defined(IS_PRERELEASE)
|
||||||
mVersion.setText(applicationName + " " + Utils::String::toUpper(PROGRAM_VERSION_STRING) +
|
mVersion.setText(applicationName + " " + Utils::String::toUpper(PROGRAM_VERSION_STRING) +
|
||||||
" (Built " + __DATE__ + ")");
|
" (Built " + __DATE__ + ")");
|
||||||
|
#else
|
||||||
|
#if defined(__ANDROID__)
|
||||||
|
mVersion.setText(applicationName + " " + Utils::String::toUpper(PROGRAM_VERSION_STRING) + "-" +
|
||||||
|
std::to_string(ANDROID_VERSION_CODE));
|
||||||
#else
|
#else
|
||||||
mVersion.setText(applicationName + " " + Utils::String::toUpper(PROGRAM_VERSION_STRING));
|
mVersion.setText(applicationName + " " + Utils::String::toUpper(PROGRAM_VERSION_STRING));
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
mVersion.setHorizontalAlignment(ALIGN_CENTER);
|
mVersion.setHorizontalAlignment(ALIGN_CENTER);
|
||||||
|
|
Loading…
Reference in a new issue