From c8b6a38930634ca7de23c7ad790f8463ece48f50 Mon Sep 17 00:00:00 2001 From: Adam Novak Date: Sun, 30 Jan 2022 21:40:51 -0500 Subject: [PATCH] Drop duplicated file --- .../InactiveTabsAutoCloseDialogInteractor.kt | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 app/src/main/java/org/mozilla/fenix/tabstray/browser/InactiveTabsAutoCloseDialogInteractor.kt diff --git a/app/src/main/java/org/mozilla/fenix/tabstray/browser/InactiveTabsAutoCloseDialogInteractor.kt b/app/src/main/java/org/mozilla/fenix/tabstray/browser/InactiveTabsAutoCloseDialogInteractor.kt deleted file mode 100644 index ec3d930d99ca..000000000000 --- a/app/src/main/java/org/mozilla/fenix/tabstray/browser/InactiveTabsAutoCloseDialogInteractor.kt +++ /dev/null @@ -1,22 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -package org.mozilla.fenix.tabstray.browser - -interface InactiveTabsAutoCloseDialogInteractor { - fun onCloseClicked() - fun onEnabledAutoCloseClicked() -} - -class DefaultInactiveTabsAutoCloseDialogInteractor( - private val controller: InactiveTabsAutoCloseDialogController -) : InactiveTabsAutoCloseDialogInteractor { - override fun onCloseClicked() { - controller.close() - } - - override fun onEnabledAutoCloseClicked() { - controller.enableAutoClosed() - } -}