1.修复开启订阅不能退款bug
This commit is contained in:
@@ -214,6 +214,16 @@ class AppUtils {
|
||||
return locale.language
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取系统国家地区
|
||||
*/
|
||||
fun getDisplayCountry(loc: Locale? = null): String {
|
||||
val locale = Locale.getDefault()
|
||||
//Locale.CHINA
|
||||
return if (null == loc) locale.getDisplayCountry(locale)
|
||||
else locale.getDisplayCountry(loc)
|
||||
}
|
||||
|
||||
/**
|
||||
* 判断是否是深色模式
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user