fix bug
异常上报在乘客屏不进行吐司提示,只需要在司机屏提示
This commit is contained in:
@@ -1916,8 +1916,9 @@ class DebugSettingView @JvmOverloads constructor(
|
||||
* 吐司提示
|
||||
*/
|
||||
private fun toastMsg(msg: String) {
|
||||
//当处于美化(演示)模式、msg为空时不弹吐司
|
||||
if (!FunctionBuildConfig.isDemoMode && msg.isNotEmpty()) {
|
||||
//当司机屏处于美化(演示)模式、msg为空时不弹吐司
|
||||
if (!FunctionBuildConfig.isDemoMode && msg.isNotEmpty()
|
||||
&& AppIdentityModeUtils.isDriver(FunctionBuildConfig.appIdentityMode)) {
|
||||
ToastUtils.showLong(msg)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user