1.Fix translation issue
This commit is contained in:
parent
a9af520e0d
commit
cf48579854
|
@ -12,11 +12,14 @@ android {
|
|||
applicationId "com.zane.smapiinstaller"
|
||||
minSdkVersion 19
|
||||
targetSdkVersion 28
|
||||
versionCode 40
|
||||
versionName "1.5.0"
|
||||
versionCode 41
|
||||
versionName "1.5.1"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
multiDexEnabled true
|
||||
ndk {
|
||||
abiFilters 'armeabi-v7a','arm64-v8a'
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
|
|
|
@ -112,7 +112,7 @@ class ConfigViewModel extends ViewModel implements ListenableObject<List<ModMani
|
|||
if (null != app) {
|
||||
DaoSession daoSession = app.getDaoSession();
|
||||
AppConfig activeTranslator = ConfigUtils.getConfig(app, AppConfigKey.ACTIVE_TRANSLATOR, TranslateUtil.NONE);
|
||||
if (StringUtils.equals(activeTranslator.getValue(), TranslateUtil.NONE)) {
|
||||
if (!StringUtils.equals(activeTranslator.getValue(), TranslateUtil.NONE)) {
|
||||
String translator = activeTranslator.getValue();
|
||||
List<String> descriptions = StreamSupport.stream(this.modList).map(ModManifestEntry::getDescription).filter(Objects::nonNull).collect(Collectors.toList());
|
||||
String language = LanguagesManager.getAppLanguage(app).getLanguage();
|
||||
|
|
Loading…
Reference in New Issue