|
@@ -1,11 +1,7 @@
|
|
|
package eu.kanade.tachiyomi.ui.more
|
|
|
|
|
|
import android.content.Context
|
|
|
-import android.os.Bundle
|
|
|
import android.util.AttributeSet
|
|
|
-import android.view.LayoutInflater
|
|
|
-import android.view.View
|
|
|
-import android.view.ViewGroup
|
|
|
import androidx.preference.Preference
|
|
|
import androidx.preference.PreferenceScreen
|
|
|
import eu.kanade.tachiyomi.R
|
|
@@ -13,7 +9,6 @@ import eu.kanade.tachiyomi.data.download.DownloadManager
|
|
|
import eu.kanade.tachiyomi.data.download.DownloadService
|
|
|
import eu.kanade.tachiyomi.ui.base.controller.NoToolbarElevationController
|
|
|
import eu.kanade.tachiyomi.ui.base.controller.RootController
|
|
|
-import eu.kanade.tachiyomi.ui.base.controller.applyBottomInsetPadding
|
|
|
import eu.kanade.tachiyomi.ui.base.controller.withFadeTransaction
|
|
|
import eu.kanade.tachiyomi.ui.category.CategoryController
|
|
|
import eu.kanade.tachiyomi.ui.download.DownloadController
|
|
@@ -44,14 +39,6 @@ class MoreController :
|
|
|
private var isDownloading: Boolean = false
|
|
|
private var downloadQueueSize: Int = 0
|
|
|
|
|
|
- override fun onCreateView(inflater: LayoutInflater, container: ViewGroup, savedInstanceState: Bundle?): View {
|
|
|
- val view = super.onCreateView(inflater, container, savedInstanceState)
|
|
|
-
|
|
|
- applyBottomInsetPadding(view, view.context.resources.getDimensionPixelSize(R.dimen.action_toolbar_list_padding))
|
|
|
-
|
|
|
- return view
|
|
|
- }
|
|
|
-
|
|
|
override fun setupPreferenceScreen(screen: PreferenceScreen) = screen.apply {
|
|
|
titleRes = R.string.label_more
|
|
|
|