Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Fix code style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
osipxd committed Jul 20, 2021
1 parent 10caa4a commit 2de7396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/src/main/java/dev/chrisbanes/insetter/Insetter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ class Insetter private constructor(

internal const val TAG = "Insetter"

@Suppress("NOTHING_TO_INLINE", "DeprecatedCallableAddReplaceWith")
@Suppress("NOTHING_TO_INLINE", "DeprecatedCallableAddReplaceWith", "unused")
@Deprecated(
level = DeprecationLevel.ERROR,
message = "Use WindowCompat.setDecorFitsSystemWindows(window, false) to enable edge to edge mode",
Expand Down Expand Up @@ -671,7 +671,7 @@ private fun View.applyMargins(
val lp = layoutParams
require(lp is MarginLayoutParams) {
"Margin window insets handling requested but View's" +
" LayoutParams do not extend MarginLayoutParams"
" LayoutParams do not extend MarginLayoutParams"
}

val marginLeft = when (typesToApply.left) {
Expand Down

0 comments on commit 2de7396

Please sign in to comment.