From ba1a2fbce4487ad97341d4e48e7ff9966457dac8 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Mon, 13 Jan 2020 04:00:35 +0800 Subject: [PATCH] Remove deprecate APIs --- .../java/com/topjohnwu/magisk/model/navigation/Navigator.kt | 4 +--- .../java/com/topjohnwu/magisk/ui/compat/CompatActivity.kt | 4 ---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/app/src/main/java/com/topjohnwu/magisk/model/navigation/Navigator.kt b/app/src/main/java/com/topjohnwu/magisk/model/navigation/Navigator.kt index e2b755a9d..ff9dcfe26 100644 --- a/app/src/main/java/com/topjohnwu/magisk/model/navigation/Navigator.kt +++ b/app/src/main/java/com/topjohnwu/magisk/model/navigation/Navigator.kt @@ -8,6 +8,4 @@ interface Navigator { //TODO Elevate Fragment to MagiskFragment<*,*> once everything is on board with it val baseFragments: List> - fun navigateTo(event: MagiskNavigationEvent) - -} \ No newline at end of file +} diff --git a/app/src/main/java/com/topjohnwu/magisk/ui/compat/CompatActivity.kt b/app/src/main/java/com/topjohnwu/magisk/ui/compat/CompatActivity.kt index 928f2661d..348d47770 100644 --- a/app/src/main/java/com/topjohnwu/magisk/ui/compat/CompatActivity.kt +++ b/app/src/main/java/com/topjohnwu/magisk/ui/compat/CompatActivity.kt @@ -16,7 +16,6 @@ import com.topjohnwu.magisk.extensions.snackbar import com.topjohnwu.magisk.extensions.startAnimations import com.topjohnwu.magisk.model.events.SnackbarEvent import com.topjohnwu.magisk.model.events.ViewEvent -import com.topjohnwu.magisk.model.navigation.MagiskNavigationEvent import com.topjohnwu.magisk.model.navigation.Navigator import com.topjohnwu.magisk.ui.theme.Theme import kotlin.reflect.KClass @@ -78,9 +77,6 @@ abstract class CompatActivity