Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: KaushalVasava/JetPackCompose_Basic
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0a8dbfe3049714a32bd5c4a9216c151d39e0fa62
Choose a base ref
..
head repository: KaushalVasava/JetPackCompose_Basic
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fc4c99bdc66626e918a45c10ce061fc03b1bc04a
Choose a head ref
Showing with 1 addition and 2 deletions.
  1. +1 −2 app/src/main/java/com/lahsuak/apps/jetpackcomposebasic/MainActivity.kt
Original file line number Diff line number Diff line change
@@ -6,7 +6,6 @@ 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.padding
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
@@ -73,7 +72,7 @@ fun IndianFlagScreen() {
}
createVerticalChain(orangeBox, circle, greenBox, chainStyle = ChainStyle.SpreadInside)
}
ConstraintLayout(constraints, modifier = Modifier.fillMaxSize()) {
ConstraintLayout(constraints, modifier = Modifier.background(Color.White).fillMaxSize()) {
Box(
modifier = Modifier
.background(Color(0xFFFB8C00))