Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
S
swiftcleanerphonehelper
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanglei
swiftcleanerphonehelper
Commits
656007e2
Commit
656007e2
authored
Feb 10, 2025
by
周文华
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
cc54439f
038b614d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
15 deletions
+1
-15
WebBrowserActivity.kt
.../chovey/view/function/constellation/WebBrowserActivity.kt
+1
-15
No files found.
app/src/main/java/com/swiftcleaner/chovey/view/function/constellation/WebBrowserActivity.kt
View file @
656007e2
...
@@ -62,20 +62,7 @@ class WebBrowserActivity : BaseActivityKotlin<ActivityWebBrowserBinding>() {
...
@@ -62,20 +62,7 @@ class WebBrowserActivity : BaseActivityKotlin<ActivityWebBrowserBinding>() {
}
}
onBackPressedDispatcher
.
addCallback
(
object
:
OnBackPressedCallback
(
true
)
{
onBackPressedDispatcher
.
addCallback
(
object
:
OnBackPressedCallback
(
true
)
{
override
fun
handleOnBackPressed
()
{
override
fun
handleOnBackPressed
()
{
initCustDialog
()
val
activity
:
Activity
=
this
@WebBrowserActivity
}
})
}
private
fun
initCustDialog
()
{
val
activity
:
Activity
=
this
val
customScoreDialog
=
CustomScoreDialog
(
this
)
customScoreDialog
.
setOnDialogClickListener
(
object
:
CustomScoreDialog
.
OnDialogClickListener
{
override
fun
onCancel
()
{
customScoreDialog
.
dismiss
()
}
override
fun
onSubmit
()
{
if
(
AdmobManager
.
isShowAdBackInter
())
{
if
(
AdmobManager
.
isShowAdBackInter
())
{
AdmobManager
.
showInterstitialAd
(
AdmobManager
.
showInterstitialAd
(
this
@WebBrowserActivity
,
{
this
@WebBrowserActivity
,
{
...
@@ -93,7 +80,6 @@ class WebBrowserActivity : BaseActivityKotlin<ActivityWebBrowserBinding>() {
...
@@ -93,7 +80,6 @@ class WebBrowserActivity : BaseActivityKotlin<ActivityWebBrowserBinding>() {
}
}
}
}
})
})
customScoreDialog
.
show
()
}
}
@SuppressLint
(
"JavascriptInterface"
)
@SuppressLint
(
"JavascriptInterface"
)
private
fun
initWebSettings
()
{
private
fun
initWebSettings
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment