Skip to content

Commit a42cd27

Browse files
committed
Reverts an unintended change.
1 parent 6af9995 commit a42cd27

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • examples/paywall-tester/src/main/java/com/revenuecat/paywallstester

examples/paywall-tester/src/main/java/com/revenuecat/paywallstester/MainActivity.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ import android.os.Bundle
55
import android.util.Log
66
import androidx.activity.ComponentActivity
77
import androidx.activity.compose.setContent
8-
import androidx.compose.foundation.background
9-
import androidx.compose.foundation.layout.Box
108
import androidx.compose.foundation.layout.fillMaxSize
119
import androidx.compose.material3.MaterialTheme
10+
import androidx.compose.material3.Surface
1211
import androidx.compose.ui.Modifier
1312
import com.revenuecat.paywallstester.ui.theme.PaywallTesterAndroidTheme
1413
import com.revenuecat.purchases.Offering
@@ -24,7 +23,7 @@ class MainActivity : ComponentActivity(), PaywallResultHandler {
2423
paywallActivityLauncher = PaywallActivityLauncher(this, this)
2524
setContent {
2625
PaywallTesterAndroidTheme {
27-
Box(modifier = Modifier.fillMaxSize().background(color = MaterialTheme.colorScheme.background)) {
26+
Surface(modifier = Modifier.fillMaxSize(), color = MaterialTheme.colorScheme.background) {
2827
PaywallTesterApp()
2928
}
3029
}

0 commit comments

Comments
 (0)