Skip to content

Commit

Permalink
Suppress deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
zoontek committed Nov 17, 2024
1 parent bb54296 commit 490be42
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import com.facebook.react.common.ReactConstants
object EdgeToEdgeModuleImpl {
const val NAME = "RNEdgeToEdge"

@Suppress("DEPRECATION")
fun applyEdgeToEdge(reactContext: ReactApplicationContext) {
val activity = reactContext.currentActivity
?: return FLog.w(ReactConstants.TAG, "$NAME: Ignored, current activity is null.")
Expand Down

0 comments on commit 490be42

Please sign in to comment.