Skip to content

Commit 8d1ad3a

Browse files
committed
Cleanup
1 parent 5a53814 commit 8d1ad3a

File tree

1 file changed

+0
-47
lines changed

1 file changed

+0
-47
lines changed

app/src/main/java/com/canopas/campose/showcase/MainActivity.kt

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -65,53 +65,6 @@ class MainActivity : ComponentActivity() {
6565

6666
@Composable
6767
fun ShowcaseSample() {
68-
val targets = remember {
69-
mutableStateMapOf<String, ShowcaseProperty>()
70-
}
71-
72-
Box {
73-
FloatingActionButton(
74-
onClick = {},
75-
modifier = Modifier
76-
.padding(16.dp)
77-
.align(Alignment.BottomEnd)
78-
.onGloballyPositioned { coordinates ->
79-
targets["email"] = ShowcaseProperty(
80-
1, coordinates,
81-
"Check emails", "Click here to check/send emails"
82-
)
83-
},
84-
backgroundColor = ThemeColor,
85-
contentColor = Color.White,
86-
elevation = FloatingActionButtonDefaults.elevation(6.dp)
87-
) {
88-
Icon(
89-
Icons.Filled.Email,
90-
contentDescription = "Email"
91-
)
92-
}
93-
Button(
94-
onClick = {},
95-
modifier = Modifier
96-
.align(Alignment.BottomStart)
97-
.padding(start = 16.dp, bottom = 16.dp)
98-
.onGloballyPositioned { coordinates ->
99-
targets["follow"] = ShowcaseProperty(
100-
2, coordinates,
101-
"Follow me", "Click here to follow"
102-
)
103-
}
104-
) {
105-
Text(text = "Follow")
106-
}
107-
108-
IntroShowCase(targets) {
109-
}
110-
}
111-
}
112-
113-
@Composable
114-
fun ShowcaseSample2() {
11568
val context = LocalContext.current
11669

11770
val targets = remember {

0 commit comments

Comments
 (0)