Formatting
This commit is contained in:
parent
f3e17edd6c
commit
11f31769ac
@ -53,9 +53,8 @@ open class DatabaseHelper(context: Context) :
|
|||||||
TrackQueries,
|
TrackQueries,
|
||||||
CategoryQueries,
|
CategoryQueries,
|
||||||
MangaCategoryQueries,
|
MangaCategoryQueries,
|
||||||
HistoryQueries
|
HistoryQueries,
|
||||||
/* SY --> */
|
/* SY --> */
|
||||||
,
|
|
||||||
SearchMetadataQueries,
|
SearchMetadataQueries,
|
||||||
SearchTagQueries,
|
SearchTagQueries,
|
||||||
SearchTitleQueries,
|
SearchTitleQueries,
|
||||||
@ -63,8 +62,7 @@ open class DatabaseHelper(context: Context) :
|
|||||||
FavoriteEntryQueries,
|
FavoriteEntryQueries,
|
||||||
SavedSearchQueries,
|
SavedSearchQueries,
|
||||||
FeedSavedSearchQueries
|
FeedSavedSearchQueries
|
||||||
/* SY <-- */
|
/* SY <-- */ {
|
||||||
{
|
|
||||||
|
|
||||||
private val configuration = SupportSQLiteOpenHelper.Configuration.builder(context)
|
private val configuration = SupportSQLiteOpenHelper.Configuration.builder(context)
|
||||||
.name(DbOpenCallback.DATABASE_NAME)
|
.name(DbOpenCallback.DATABASE_NAME)
|
||||||
|
@ -68,7 +68,8 @@ abstract class SearchableNucleusController<VB : ViewBinding, P : BasePresenter<*
|
|||||||
editable.getSpans(0, editable.length, CharacterStyle::class.java)
|
editable.getSpans(0, editable.length, CharacterStyle::class.java)
|
||||||
.forEach { editable.removeSpan(it) }
|
.forEach { editable.removeSpan(it) }
|
||||||
}
|
}
|
||||||
},)
|
},
|
||||||
|
)
|
||||||
|
|
||||||
searchView.queryTextEvents()
|
searchView.queryTextEvents()
|
||||||
.onEach {
|
.onEach {
|
||||||
|
@ -835,7 +835,7 @@ class LibraryController(
|
|||||||
}
|
}
|
||||||
is FavoritesSyncStatus.Processing,
|
is FavoritesSyncStatus.Processing,
|
||||||
is FavoritesSyncStatus.Initializing,
|
is FavoritesSyncStatus.Initializing,
|
||||||
-> {
|
-> {
|
||||||
takeSyncLocks()
|
takeSyncLocks()
|
||||||
|
|
||||||
if (favSyncDialog == null || (
|
if (favSyncDialog == null || (
|
||||||
|
@ -54,7 +54,8 @@ class ReaderSettingsSheet(
|
|||||||
activity.setMenuVisibility(!isFilterTab)
|
activity.setMenuVisibility(!isFilterTab)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},)
|
},
|
||||||
|
)
|
||||||
|
|
||||||
if (showColorFilterSettings) {
|
if (showColorFilterSettings) {
|
||||||
binding.tabs.getTabAt(filterTabIndex)?.select()
|
binding.tabs.getTabAt(filterTabIndex)?.select()
|
||||||
|
@ -120,7 +120,8 @@ class TachiyomiBottomNavigationView @JvmOverloads constructor(
|
|||||||
currentAnimator = null
|
currentAnimator = null
|
||||||
postInvalidate()
|
postInvalidate()
|
||||||
}
|
}
|
||||||
},)
|
},
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
internal class SavedState : AbsSavedState {
|
internal class SavedState : AbsSavedState {
|
||||||
|
@ -42,7 +42,8 @@ class ThemesPreference @JvmOverloads constructor(context: Context, attrs: Attrib
|
|||||||
super.onScrolled(recyclerView, dx, dy)
|
super.onScrolled(recyclerView, dx, dy)
|
||||||
lastScrollPosition = recyclerView.computeHorizontalScrollOffset()
|
lastScrollPosition = recyclerView.computeHorizontalScrollOffset()
|
||||||
}
|
}
|
||||||
},)
|
},
|
||||||
|
)
|
||||||
lastScrollPosition?.let { scrollToOffset(it) }
|
lastScrollPosition?.let { scrollToOffset(it) }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,6 +49,7 @@ class BottomSheetViewPager @JvmOverloads constructor(
|
|||||||
override fun onPageSelected(position: Int) {
|
override fun onPageSelected(position: Int) {
|
||||||
requestLayout()
|
requestLayout()
|
||||||
}
|
}
|
||||||
},)
|
},
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,7 @@ subprojects {
|
|||||||
experimentalRules = true
|
experimentalRules = true
|
||||||
|
|
||||||
// Doesn't play well with Android Studio
|
// Doesn't play well with Android Studio
|
||||||
disabledRules = arrayOf("experimental:argument-list-wrapping")
|
disabledRules = arrayOf("experimental:argument-list-wrapping", "experimental:comment-wrapping")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user