Commit 3ff4e0a4 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent ee2243e1
......@@ -9,6 +9,7 @@ import com.mints.flowbox.common.AppConfig
object ExpressManager {
/**
* 加载应用内信息流
* @param isMain 是否是网赚信息流
*/
fun loadExpress(isMain: Boolean) {
......
......@@ -558,11 +558,15 @@ class WifiFragment : BaseFragment(), View.OnClickListener, OnItemClickListener,
Handler(Looper.getMainLooper()).postDelayed({
loadWifiData()
}, 1000)
} else {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
showMissingPermissionDialog("位置")
} else {
showMissingPermissionDialog("位置,存储 ")
}
}
}
}
/** 打开GPS定位信息 */
private fun openGpsSettings() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment