Skip to content

Commit dcb2460

Browse files
committed
ktlint: Fix spacing-between-declarations-with-comments violations
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
1 parent 6190db7 commit dcb2460

4 files changed

Lines changed: 7 additions & 1 deletion

File tree

.editorconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@ ktlint_standard_package-name = disabled
3434
ktlint_standard_parameter-list-wrapping = disabled
3535
ktlint_standard_property-naming = disabled
3636
ktlint_standard_spacing-between-declarations-with-annotations = disabled
37-
ktlint_standard_spacing-between-declarations-with-comments = disabled

app/src/main/java/org/schabi/newpipe/info_list/ItemViewMode.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,17 @@ enum class ItemViewMode {
1313
* Default mode.
1414
*/
1515
AUTO,
16+
1617
/**
1718
* Full width list item with thumb on the left and two line title & uploader in right.
1819
*/
1920
LIST,
21+
2022
/**
2123
* Grid mode places two cards per row.
2224
*/
2325
GRID,
26+
2427
/**
2528
* A full width card in phone - portrait.
2629
*/

app/src/main/java/org/schabi/newpipe/util/potoken/PoTokenWebView.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ class PoTokenWebView private constructor(
245245
//endregion
246246

247247
//region Handling multiple emitters
248+
248249
/**
249250
* Adds the ([identifier], [emitter]) pair to the [poTokenEmitters] list. This makes it so that
250251
* multiple poToken requests can be generated invparallel, and the results will be notified to
@@ -283,6 +284,7 @@ class PoTokenWebView private constructor(
283284
//endregion
284285

285286
//region Utils
287+
286288
/**
287289
* Makes a POST request to [url] with the given [data] by setting the correct headers. Calls
288290
* [onInitializationErrorCloseAndCancel] in case of any network errors and also if the response
@@ -363,6 +365,7 @@ class PoTokenWebView private constructor(
363365

364366
companion object : PoTokenGenerator.Factory {
365367
private val TAG = PoTokenWebView::class.simpleName
368+
366369
// Public API key used by BotGuard, which has been got by looking at BotGuard requests
367370
private const val GOOGLE_API_KEY = "AIzaSyDyT5W0Jh49F30Pqqtyfdf7pDLFKLJoAnw" // NOSONAR
368371
private const val REQUEST_KEY = "O43z0dpjhgX20SCx4KAo"

app/src/main/java/org/schabi/newpipe/views/player/PlayerFastSeekOverlay.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ class PlayerFastSeekOverlay(context: Context, attrs: AttributeSet?) :
126126
interface PerformListener {
127127
fun onDoubleTap()
128128
fun onDoubleTapEnd()
129+
129130
/**
130131
* Determines if the playback should forward/rewind or do nothing.
131132
*/

0 commit comments

Comments
 (0)