Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Simple-Sms
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangchengbo
Simple-Sms
Commits
319cb23b
Commit
319cb23b
authored
Nov 20, 2025
by
zhangchengbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:优化单个删除时不在二次确认弹窗
parent
d0f25515
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
ManageBlockedNumbersActivity.kt
...etools/commons/activities/ManageBlockedNumbersActivity.kt
+5
-0
No files found.
commons/src/main/kotlin/com/simplemobiletools/commons/activities/ManageBlockedNumbersActivity.kt
View file @
319cb23b
...
...
@@ -125,6 +125,11 @@ class ManageBlockedNumbersActivity : BaseSimpleActivity() {
blockedNumbers
=
blockedNumbers
,
onDelete
=
{
selectedKeys
:
Set
<
Long
>
->
if
(
blockedNumbers
.
isNullOrEmpty
())
return
@ManageBlockedNumbersScreen
Log
.
d
(
TAG
,
"onCreate: 长按滑动模式 selectedKeys = $selectedKeys"
)
if
(
selectedKeys
.
size
==
1
){
deleteBlockedNumbers
(
blockedNumbers
,
selectedKeys
)
return
@ManageBlockedNumbersScreen
}
Log
.
d
(
TAG
,
"onCreate: 长按滑动模式 删除所有黑名单数据!"
)
val
allBlockKeys
=
blockedNumbers
!!
.
map
{
it
.
id
}
var
confirmationText
=
""
...
...
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