diff --git a/app/src/main/java/org/oxycblt/auxio/ui/EatInsetsFrameLayout.kt b/app/src/main/java/org/oxycblt/auxio/ui/EatInsetsFrameLayout.kt index 76a0de000..f22d7db47 100644 --- a/app/src/main/java/org/oxycblt/auxio/ui/EatInsetsFrameLayout.kt +++ b/app/src/main/java/org/oxycblt/auxio/ui/EatInsetsFrameLayout.kt @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2025 Auxio Project + * EatInsetsFrameLayout.kt is part of Auxio. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package org.oxycblt.auxio.ui import android.content.Context @@ -7,9 +25,8 @@ import android.widget.FrameLayout import androidx.annotation.AttrRes /** - * A [FrameLayout] that works around the pre-Android 10 behavior of propagating - * mutated insets to sibling views. Wrap this around views that to isolate - * mutated window insets. + * A [FrameLayout] that works around the pre-Android 10 behavior of propagating mutated insets to + * sibling views. Wrap this around views that to isolate mutated window insets. * * @author Alexander Capehart (OxygenCobalt) */ @@ -25,4 +42,4 @@ constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr super.dispatchApplyWindowInsets(insets) return insets } -} \ No newline at end of file +} diff --git a/app/src/main/java/org/oxycblt/auxio/ui/EdgeFrameLayout.kt b/app/src/main/java/org/oxycblt/auxio/ui/EdgeFrameLayout.kt index c057eccea..faf5001fa 100644 --- a/app/src/main/java/org/oxycblt/auxio/ui/EdgeFrameLayout.kt +++ b/app/src/main/java/org/oxycblt/auxio/ui/EdgeFrameLayout.kt @@ -44,4 +44,3 @@ constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr return insets } } -