mirror of
https://github.com/Fox2Code/FoxMagiskModuleManager
synced 2024-10-30 15:20:15 +00:00
correct example
Signed-off-by: androidacy-user <opensource@androidacy.com>
This commit is contained in:
parent
d656d1d142
commit
cb20fb4a8f
@ -562,7 +562,7 @@ public class SettingsActivity extends FoxActivity implements LanguageActivity {
|
||||
// Determine if this is an official build based on the signature
|
||||
String flavor = BuildConfig.FLAVOR;
|
||||
String type = BuildConfig.BUILD_TYPE;
|
||||
// Set the summary of pref_pkg_info to something like Github-debug v1.0 (123) (Official)
|
||||
// Set the summary of pref_pkg_info to something like default-debug v1.0 (123) (Official)
|
||||
String pkgInfo = getString(R.string.pref_pkg_info_summary, flavor + "-" + type, BuildConfig.VERSION_NAME, BuildConfig.VERSION_CODE, MainApplication.isOfficial ? getString(R.string.official) : getString(R.string.unofficial));
|
||||
findPreference("pref_pkg_info").setSummary(pkgInfo);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user