2
0
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:
Colin Lee 2019-02-17 12:32:09 -06:00
parent 9b1c5ef4d5
commit 3dae7c48d1

View File

@ -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