1.修复开启订阅不能退款bug

This commit is contained in:
2026-09-23 18:12:11 +08:00
parent d7fb4e3a56
commit 69b91f8135
12 changed files with 53 additions and 36 deletions

View File

@@ -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)
}
/**
* 判断是否是深色模式
*/