Commit 5e4fd460 authored by David Walsh's avatar David Walsh Committed by Jeff Boek
Browse files

Remove onTabClosed from interactor

parent 8b843ac9
......@@ -221,8 +221,6 @@ abstract class BaseBrowserFragment : Fragment(), UserInteractionHandler, Session
tabTrayDialog.dismiss()
}
override fun onTabClosed(tab: Tab) { /* noop */ }
override fun onNewTabTapped(private: Boolean) {
(activity as HomeActivity).browsingModeManager.mode = BrowsingMode.fromBoolean(private)
tabTrayDialog.dismiss()
......
......@@ -371,10 +371,6 @@ class HomeFragment : Fragment() {
(activity as HomeActivity).browsingModeManager.mode = BrowsingMode.fromBoolean(private)
tabTrayDialog.dismiss()
}
override fun onTabClosed(tab: mozilla.components.concept.tabstray.Tab) {
/* noop */
}
}
}
......
......@@ -25,7 +25,6 @@ class TabTrayDialogFragment : AppCompatDialogFragment(), TabTrayInteractor {
interface Interactor {
fun onTabSelected(tab: Tab)
fun onNewTabTapped(private: Boolean)
fun onTabClosed(tab: Tab)
}
private lateinit var tabTrayView: TabTrayView
......
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