mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-23 12:42:56 -04:00
Add android build number in settings #324
This commit is contained in:
parent
2ba412ca13
commit
91823e2a7f
@ -226,7 +226,9 @@ public class KiwixSettingsActivity extends AppCompatActivity {
|
||||
|
||||
try {
|
||||
version = getActivity().getPackageManager()
|
||||
.getPackageInfo("org.kiwix.kiwixmobile", 0).versionName;
|
||||
.getPackageInfo("org.kiwix.kiwixmobile", 0).versionName + " Build: " +
|
||||
getActivity().getPackageManager()
|
||||
.getPackageInfo("org.kiwix.kiwixmobile", 0).versionCode;
|
||||
} catch (PackageManager.NameNotFoundException e) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user