Commit e860d905 authored by wanglei's avatar wanglei

...

parent 19c19084
......@@ -367,7 +367,7 @@ object NotificationUiUtil {
if (actionId == ID_NEWS) {
AppPreferences.getInstance().put("last_news_notification_time", System.currentTimeMillis())
}
if (actionId == ID_APP_PROCESS_1) {
if (actionId == ID_APP_PROCESS_1 || actionId == ID_APP_PROCESS_2) {
AppPreferences.getInstance().put("last_process_notification_time", System.currentTimeMillis())
}
if (actionId == ID_CONSTELLATION) {
......
......@@ -324,7 +324,8 @@ class WebBrowserActivity : BaseActivity<ActivityWebBrowserBinding>() {
},
privacyAction = {
setEditPrivacy(this, binding.editWeb)
}
},
offAction = { finishToMain() }
)
}
......
......@@ -340,6 +340,7 @@ object DialogViews {
historyAction: (() -> Unit)? = null,//历史记录
downloadAction: (() -> Unit)? = null,//下载
settingAction: (() -> Unit)? = null,
offAction: (() -> Unit)? = null,
privacyAction: (() -> Unit)? = null,//隐私模式
) {
......@@ -397,6 +398,7 @@ object DialogViews {
}
binding.clOff.setOnClickListener {
dialog.dismiss()
offAction?.invoke()
}
binding.switchTraceless.isChecked = webPrivacy
......
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