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