From abfec579729be16834af96a800eac00ea7257465 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Mon, 13 Sep 2021 01:47:36 -0700 Subject: [PATCH] Move files around --- app/src/main/java/com/topjohnwu/magisk/arch/BaseUIActivity.kt | 2 +- .../magisk/{ui => arch}/inflater/LayoutInflaterFactory.kt | 2 +- .../magisk/{ui => arch}/inflater/WindowInsetsHelper.kt | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename app/src/main/java/com/topjohnwu/magisk/{ui => arch}/inflater/LayoutInflaterFactory.kt (98%) rename app/src/main/java/com/topjohnwu/magisk/{ui => arch}/inflater/WindowInsetsHelper.kt (99%) diff --git a/app/src/main/java/com/topjohnwu/magisk/arch/BaseUIActivity.kt b/app/src/main/java/com/topjohnwu/magisk/arch/BaseUIActivity.kt index 024fe61ff..a3ef51efc 100644 --- a/app/src/main/java/com/topjohnwu/magisk/arch/BaseUIActivity.kt +++ b/app/src/main/java/com/topjohnwu/magisk/arch/BaseUIActivity.kt @@ -14,9 +14,9 @@ import androidx.navigation.NavController import androidx.navigation.NavDirections import androidx.navigation.fragment.NavHostFragment import com.topjohnwu.magisk.BR +import com.topjohnwu.magisk.arch.inflater.LayoutInflaterFactory import com.topjohnwu.magisk.core.Config import com.topjohnwu.magisk.core.base.BaseActivity -import com.topjohnwu.magisk.ui.inflater.LayoutInflaterFactory import com.topjohnwu.magisk.ui.theme.Theme abstract class BaseUIActivity : diff --git a/app/src/main/java/com/topjohnwu/magisk/ui/inflater/LayoutInflaterFactory.kt b/app/src/main/java/com/topjohnwu/magisk/arch/inflater/LayoutInflaterFactory.kt similarity index 98% rename from app/src/main/java/com/topjohnwu/magisk/ui/inflater/LayoutInflaterFactory.kt rename to app/src/main/java/com/topjohnwu/magisk/arch/inflater/LayoutInflaterFactory.kt index 72e6eec5d..46b7817ec 100644 --- a/app/src/main/java/com/topjohnwu/magisk/ui/inflater/LayoutInflaterFactory.kt +++ b/app/src/main/java/com/topjohnwu/magisk/arch/inflater/LayoutInflaterFactory.kt @@ -1,4 +1,4 @@ -package com.topjohnwu.magisk.ui.inflater +package com.topjohnwu.magisk.arch.inflater import android.content.Context import android.util.AttributeSet diff --git a/app/src/main/java/com/topjohnwu/magisk/ui/inflater/WindowInsetsHelper.kt b/app/src/main/java/com/topjohnwu/magisk/arch/inflater/WindowInsetsHelper.kt similarity index 99% rename from app/src/main/java/com/topjohnwu/magisk/ui/inflater/WindowInsetsHelper.kt rename to app/src/main/java/com/topjohnwu/magisk/arch/inflater/WindowInsetsHelper.kt index 286be439e..ea9c1ff2e 100644 --- a/app/src/main/java/com/topjohnwu/magisk/ui/inflater/WindowInsetsHelper.kt +++ b/app/src/main/java/com/topjohnwu/magisk/arch/inflater/WindowInsetsHelper.kt @@ -1,6 +1,6 @@ @file:Suppress("unused") -package com.topjohnwu.magisk.ui.inflater +package com.topjohnwu.magisk.arch.inflater import android.annotation.SuppressLint import android.annotation.TargetApi @@ -281,4 +281,4 @@ fun View.setInitialMargin(left: Int, top: Int, right: Int, bottom: Int) { fun View.setInitialMarginRelative(start: Int, top: Int, end: Int, bottom: Int) { windowInsetsHelper?.setInitialMarginRelative(start, top, end, bottom) -} \ No newline at end of file +}