Spotless apply
This commit is contained in:
@@ -95,7 +95,7 @@ class SourcePreferences(
|
||||
|
||||
fun defaultMangaOrder() = preferenceStore.getString("default_manga_order", "")
|
||||
|
||||
//fun migrationSources() = preferenceStore.getString("migrate_sources", "")
|
||||
// fun migrationSources() = preferenceStore.getString("migrate_sources", "")
|
||||
|
||||
fun smartMigration() = preferenceStore.getBoolean("smart_migrate", false)
|
||||
|
||||
|
||||
@@ -320,7 +320,7 @@ fun ReaderAppBars(
|
||||
.fillMaxWidth()
|
||||
.background(backgroundColor)
|
||||
.padding(horizontal = MaterialTheme.padding.small)
|
||||
.windowInsetsPadding(WindowInsets.navigationBars)
|
||||
.windowInsetsPadding(WindowInsets.navigationBars),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -63,8 +63,8 @@ fun Screen.migrateSourceTab(): TabContent {
|
||||
withUIContext {
|
||||
navigator.push(
|
||||
MigrationConfigScreen(
|
||||
sourceMangas
|
||||
)
|
||||
sourceMangas,
|
||||
),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -200,7 +200,7 @@ object HomeScreen : Screen() {
|
||||
|
||||
@Composable
|
||||
private fun RowScope.NavigationBarItem(
|
||||
tab: eu.kanade.presentation.util.Tab,/* SY --> */
|
||||
tab: eu.kanade.presentation.util.Tab, /* SY --> */
|
||||
alwaysShowLabel: Boolean, /* SY <-- */
|
||||
) {
|
||||
val tabNavigator = LocalTabNavigator.current
|
||||
|
||||
@@ -183,7 +183,7 @@ class LibraryScreenModel(
|
||||
),
|
||||
// SY <--
|
||||
getLibraryItemPreferencesFlow(),
|
||||
) { (searchQuery, categories, favorites), (tracksMap, trackingFilters), /* SY --> */ (groupType, sortingMode) /* <-- SY */, itemPreferences ->
|
||||
) { (searchQuery, categories, favorites), (tracksMap, trackingFilters), /* SY --> */ (groupType, sortingMode)/* <-- SY */, itemPreferences ->
|
||||
val showSystemCategory = favorites.any { it.libraryManga.categories.contains(0) }
|
||||
val filteredFavorites = favorites
|
||||
.applyFilters(tracksMap, trackingFilters, itemPreferences)
|
||||
|
||||
@@ -194,7 +194,8 @@ data object LibraryTab : Tab {
|
||||
.map { it.id }
|
||||
// <-- SY
|
||||
screenModel.clearSelection()
|
||||
/* SY --> */if (selection.isNotEmpty()) { /* <-- SY */
|
||||
/* SY --> */if (selection.isNotEmpty()) {
|
||||
/* <-- SY */
|
||||
navigator.push(MigrationConfigScreen(selection))
|
||||
// SY ->>
|
||||
} else {
|
||||
|
||||
@@ -51,8 +51,8 @@ import cafe.adriel.voyager.navigator.LocalNavigator
|
||||
import cafe.adriel.voyager.navigator.Navigator
|
||||
import cafe.adriel.voyager.navigator.NavigatorDisposeBehavior
|
||||
import cafe.adriel.voyager.navigator.currentOrThrow
|
||||
import com.google.firebase.analytics.analytics
|
||||
import com.google.firebase.Firebase
|
||||
import com.google.firebase.analytics.analytics
|
||||
import eu.kanade.domain.base.BasePreferences
|
||||
import eu.kanade.domain.source.interactor.GetIncognitoState
|
||||
import eu.kanade.presentation.components.AppStateBanners
|
||||
|
||||
@@ -106,7 +106,6 @@ import kotlinx.collections.immutable.toImmutableList
|
||||
import kotlinx.collections.immutable.toImmutableSet
|
||||
import kotlinx.coroutines.delay
|
||||
import kotlinx.coroutines.flow.combine
|
||||
import kotlinx.coroutines.flow.combine
|
||||
import kotlinx.coroutines.flow.distinctUntilChanged
|
||||
import kotlinx.coroutines.flow.drop
|
||||
import kotlinx.coroutines.flow.filterNotNull
|
||||
@@ -142,7 +141,8 @@ class ReaderActivity : BaseActivity() {
|
||||
context: Context,
|
||||
mangaId: Long?,
|
||||
chapterId: Long?,
|
||||
/* SY --> */ page: Int? = null, /* SY <-- */
|
||||
/* SY --> */
|
||||
page: Int? = null, /* SY <-- */
|
||||
): Intent {
|
||||
return Intent(context, ReaderActivity::class.java).apply {
|
||||
putExtra("manga", mangaId)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package exh.log
|
||||
|
||||
import com.elvishew.xlog.printer.Printer
|
||||
import com.google.firebase.crashlytics.crashlytics
|
||||
import com.google.firebase.Firebase
|
||||
import com.google.firebase.crashlytics.crashlytics
|
||||
import eu.kanade.tachiyomi.BuildConfig
|
||||
|
||||
class CrashlyticsPrinter(private val logLevel: Int) : Printer {
|
||||
|
||||
Reference in New Issue
Block a user