Commit 3ff4e0a4 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent ee2243e1
...@@ -9,6 +9,7 @@ import com.mints.flowbox.common.AppConfig ...@@ -9,6 +9,7 @@ import com.mints.flowbox.common.AppConfig
object ExpressManager { object ExpressManager {
/** /**
* 加载应用内信息流
* @param isMain 是否是网赚信息流 * @param isMain 是否是网赚信息流
*/ */
fun loadExpress(isMain: Boolean) { fun loadExpress(isMain: Boolean) {
......
...@@ -559,7 +559,11 @@ class WifiFragment : BaseFragment(), View.OnClickListener, OnItemClickListener, ...@@ -559,7 +559,11 @@ class WifiFragment : BaseFragment(), View.OnClickListener, OnItemClickListener,
loadWifiData() loadWifiData()
}, 1000) }, 1000)
} else { } else {
showMissingPermissionDialog("位置,存储 ") if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
showMissingPermissionDialog("位置")
} else {
showMissingPermissionDialog("位置,存储 ")
}
} }
} }
} }
......
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