mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-13 07:18:55 +00:00
Section: suppress RippleTheme deprecation warnings (build was treating warnings as errors)
`androidx.compose.material.ripple.RippleTheme` and `LocalRippleTheme`
were deprecated in newer Compose Material in favor of the modern
Indication APIs. Our SectionRippleTheme override (a5b199660) hit those
deprecations and the project's Kotlin compiler flags treat warnings as
errors, breaking the build.
Add `@file:Suppress("DEPRECATION")` to Section.kt — narrow file-level
scope. Modern Indication-based ripple migration is a separate, larger
concern; suppress for now so the section hover-alpha override keeps
working.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
+2
@@ -1,3 +1,5 @@
|
|||||||
|
@file:Suppress("DEPRECATION") // RippleTheme/LocalRippleTheme — used for SectionRippleTheme hover-alpha override; modern Indication-based ripple migration is a separate concern.
|
||||||
|
|
||||||
import androidx.compose.foundation.*
|
import androidx.compose.foundation.*
|
||||||
import androidx.compose.foundation.layout.*
|
import androidx.compose.foundation.layout.*
|
||||||
import androidx.compose.foundation.shape.RoundedCornerShape
|
import androidx.compose.foundation.shape.RoundedCornerShape
|
||||||
|
|||||||
Reference in New Issue
Block a user