Skip to content

Commit

Permalink
Suppress incorrect lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
twyatt committed Dec 4, 2023
1 parent 501adda commit 8beb204
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.juul.krayon.sample

import android.annotation.SuppressLint
import android.os.Bundle
import androidx.activity.compose.setContent
import androidx.appcompat.app.AppCompatActivity
Expand All @@ -10,6 +11,7 @@ import com.juul.krayon.compose.ElementView

class ComposeLineActivity : AppCompatActivity() {

@SuppressLint("RememberReturnType") // Lint incorrect fails saying `remember` is returning `Unit`.
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
Expand Down

0 comments on commit 8beb204

Please sign in to comment.