Skip to content

Commit

Permalink
Make Activity public and remove redundant background color.
Browse files Browse the repository at this point in the history
prudrabhat committed Aug 12, 2024
1 parent 7c3f29e commit 9f997b0
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -15,7 +15,6 @@ import android.content.pm.ActivityInfo
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.safeDrawingPadding
@@ -32,7 +31,7 @@ import com.adobe.marketing.mobile.assurance.internal.ui.theme.AssuranceTheme.bac
/**
* Activity that hosts all of the Assurance UI.
*/
internal class AssuranceActivity : ComponentActivity() {
class AssuranceActivity : ComponentActivity() {

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
@@ -44,8 +43,7 @@ internal class AssuranceActivity : ComponentActivity() {
content = {
Surface(
modifier = Modifier
.fillMaxSize()
.background(backgroundColor),
.fillMaxSize(),
color = backgroundColor
) {
Box(

0 comments on commit 9f997b0

Please sign in to comment.