mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
[fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/545: overflow menu multitasking deletes private and non-private
This commit is contained in:
parent
9b1c5ef4d5
commit
3dae7c48d1
@ -36,7 +36,9 @@ class CurrentSessionBottomSheetFragment : BottomSheetDialogFragment(), LayoutCon
|
||||
}
|
||||
|
||||
view.delete_session_button.setOnClickListener {
|
||||
requireComponents.core.sessionManager.removeAll()
|
||||
sessions.forEach {
|
||||
requireComponents.core.sessionManager.remove(it)
|
||||
}
|
||||
dismiss()
|
||||
}
|
||||
return view
|
||||
|
Loading…
Reference in New Issue
Block a user