paypal支付账号信息的展示
This commit is contained in:
@@ -93,7 +93,7 @@ class AppUtils {
|
||||
* 是否是国内
|
||||
*/
|
||||
fun isChina(type: String = SWITCH_PAGE_TYPE): Boolean {
|
||||
return false
|
||||
// return false
|
||||
if (isDebug()) {
|
||||
if (type == SWITCH_MAP_TYPE && MMKVUtil.getBoolean(MMKVKey.OnlyGoogleMap, false)) {
|
||||
//只启用谷歌地图
|
||||
@@ -102,11 +102,8 @@ class AppUtils {
|
||||
return MMKVUtil.getBoolean(MMKVKey.DebugIp, true)
|
||||
}
|
||||
val locale = Locale.getDefault()
|
||||
val lang = locale.language + "-" + locale.country
|
||||
if (lang.contains("CN") || lang.contains("zh")) {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
val lang = locale.language.uppercase() + "-" + locale.country.uppercase()
|
||||
return lang.contains("CN") || lang.contains("ZH")
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user