ktlint: Fix spacing-between-declarations-with-comments violations

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta 2026-01-21 16:58:49 +08:00
parent 9f12066a17
commit 176cb8b672
4 changed files with 7 additions and 1 deletions

View file

@ -34,4 +34,3 @@ ktlint_standard_package-name = disabled
ktlint_standard_parameter-list-wrapping = disabled ktlint_standard_parameter-list-wrapping = disabled
ktlint_standard_property-naming = disabled ktlint_standard_property-naming = disabled
ktlint_standard_spacing-between-declarations-with-annotations = disabled ktlint_standard_spacing-between-declarations-with-annotations = disabled
ktlint_standard_spacing-between-declarations-with-comments = disabled

View file

@ -13,14 +13,17 @@ enum class ItemViewMode {
* Default mode. * Default mode.
*/ */
AUTO, AUTO,
/** /**
* Full width list item with thumb on the left and two line title & uploader in right. * Full width list item with thumb on the left and two line title & uploader in right.
*/ */
LIST, LIST,
/** /**
* Grid mode places two cards per row. * Grid mode places two cards per row.
*/ */
GRID, GRID,
/** /**
* A full width card in phone - portrait. * A full width card in phone - portrait.
*/ */

View file

@ -245,6 +245,7 @@ class PoTokenWebView private constructor(
//endregion //endregion
//region Handling multiple emitters //region Handling multiple emitters
/** /**
* Adds the ([identifier], [emitter]) pair to the [poTokenEmitters] list. This makes it so that * Adds the ([identifier], [emitter]) pair to the [poTokenEmitters] list. This makes it so that
* multiple poToken requests can be generated invparallel, and the results will be notified to * multiple poToken requests can be generated invparallel, and the results will be notified to
@ -283,6 +284,7 @@ class PoTokenWebView private constructor(
//endregion //endregion
//region Utils //region Utils
/** /**
* Makes a POST request to [url] with the given [data] by setting the correct headers. Calls * Makes a POST request to [url] with the given [data] by setting the correct headers. Calls
* [onInitializationErrorCloseAndCancel] in case of any network errors and also if the response * [onInitializationErrorCloseAndCancel] in case of any network errors and also if the response
@ -363,6 +365,7 @@ class PoTokenWebView private constructor(
companion object : PoTokenGenerator.Factory { companion object : PoTokenGenerator.Factory {
private val TAG = PoTokenWebView::class.simpleName private val TAG = PoTokenWebView::class.simpleName
// Public API key used by BotGuard, which has been got by looking at BotGuard requests // Public API key used by BotGuard, which has been got by looking at BotGuard requests
private const val GOOGLE_API_KEY = "AIzaSyDyT5W0Jh49F30Pqqtyfdf7pDLFKLJoAnw" // NOSONAR private const val GOOGLE_API_KEY = "AIzaSyDyT5W0Jh49F30Pqqtyfdf7pDLFKLJoAnw" // NOSONAR
private const val REQUEST_KEY = "O43z0dpjhgX20SCx4KAo" private const val REQUEST_KEY = "O43z0dpjhgX20SCx4KAo"

View file

@ -126,6 +126,7 @@ class PlayerFastSeekOverlay(context: Context, attrs: AttributeSet?) :
interface PerformListener { interface PerformListener {
fun onDoubleTap() fun onDoubleTap()
fun onDoubleTapEnd() fun onDoubleTapEnd()
/** /**
* Determines if the playback should forward/rewind or do nothing. * Determines if the playback should forward/rewind or do nothing.
*/ */