File tree Expand file tree Collapse file tree 5 files changed +12
-4
lines changed
src/main/java/com/guru/composecookbook/meditation/ui
templates/pinlock/src/main Expand file tree Collapse file tree 5 files changed +12
-4
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <resources >
3
+ <color name =" black" >#FF000000</color >
4
+ </resources >
Original file line number Diff line number Diff line change @@ -18,4 +18,8 @@ dependencies {
18
18
19
19
addComposeOfficialDependencies()
20
20
addCoreAndroidUiDependencies()
21
+
22
+ // Test dependencies
23
+ testImplementation(" junit:junit:4.13.2" )
24
+ androidTestImplementation(" androidx.test.ext:junit:1.1.5" )
21
25
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import androidx.compose.foundation.Image
4
4
import androidx.compose.foundation.background
5
5
import androidx.compose.foundation.layout.Arrangement
6
6
import androidx.compose.foundation.layout.Box
7
- import androidx.compose.foundation.layout.BoxWithConstraints
7
+
8
8
import androidx.compose.foundation.layout.Column
9
9
import androidx.compose.foundation.layout.Row
10
10
import androidx.compose.foundation.layout.fillMaxSize
@@ -34,7 +34,7 @@ import com.guru.composecookbook.meditation.ui.theme.dp10
34
34
fun DailyThoughtsItem (
35
35
dailyThought : DailyThought
36
36
) {
37
- BoxWithConstraints (
37
+ Box (
38
38
modifier = Modifier
39
39
.clip(RoundedCornerShape (dp10))
40
40
.background(color = DarkBlue )
Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ fun TopicSection(topicList: List<Topic>) {
307
307
)
308
308
spacerHeight10()
309
309
val itemSize: Dp = (LocalConfiguration .current.screenWidthDp.dp / 2 ) - 23 .dp
310
- StaggeredVerticalGrid (maxColumnWidth = 250 .dp){
310
+ StaggeredVerticalGrid (maxColumnWidth = 250 .dp) {
311
311
topicList.forEachIndexed { index, _ ->
312
312
TopicItem (topic = topicList[index], itemSize)
313
313
}
Original file line number Diff line number Diff line change 3
3
4
4
<application >
5
5
<activity
6
- android : name =" .BiometricActivity"
6
+ android : name =" com.guru.pinlock .BiometricActivity"
7
7
android : exported =" true"
8
8
android : theme =" @style/Theme.Transparent" />
9
9
</application >
You can’t perform that action at this time.
0 commit comments