Skip to content

Commit

Permalink
Update project
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbel committed Oct 30, 2024
1 parent 2f95aac commit 7069e60
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import androidx.navigation.compose.rememberNavController
import kotlinx.coroutines.launch
import org.michaelbel.template.ui.TemplateTheme
import org.michaelbel.template.ui.AppTheme

@Composable
fun MainActivityContent(
Expand All @@ -57,7 +57,7 @@ fun MainActivityContent(
val snackbarHostState = remember { SnackbarHostState() }
val coroutineScope = rememberCoroutineScope()

TemplateTheme {
AppTheme {
Scaffold(
modifier = modifier,
topBar = {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/kotlin/org/michaelbel/template/ui/Theme.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import androidx.compose.runtime.Composable
import androidx.compose.ui.platform.LocalContext

@Composable
fun TemplateTheme(
fun AppTheme(
content: @Composable () -> Unit
) {
val context = LocalContext.current
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<resources>
<string name="app_name">Template</string>
<string name="app_name">Template</string><!--Replace with your own app's name-->
</resources>

0 comments on commit 7069e60

Please sign in to comment.