Skip to content

Commit

Permalink
upd 2
Browse files Browse the repository at this point in the history
  • Loading branch information
eymar committed Oct 21, 2024
1 parent e96ab10 commit 151675c
Show file tree
Hide file tree
Showing 60 changed files with 177 additions and 987 deletions.
1 change: 1 addition & 0 deletions examples/jetsnack/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ repositories {
}

dependencies {
implementation(compose.components.resources)
implementation(project(":common"))
implementation("androidx.activity:activity-compose:1.5.0")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,12 @@ import android.os.Bundle
import androidx.activity.compose.setContent
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.material3.MaterialTheme
import androidx.compose.ui.text.font.Font
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.font.FontWeight
import com.example.jetsnack.R
import com.example.jetsnack.ui.JetsnackApp
import com.example.jetsnack.ui.theme.Karla
import com.example.jetsnack.ui.theme.Montserrat

class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)

Montserrat = FontFamily(
Font(R.font.montserrat_light, FontWeight.Light),
Font(R.font.montserrat_regular, FontWeight.Normal),
Font(R.font.montserrat_medium, FontWeight.Medium),
Font(R.font.montserrat_semibold, FontWeight.SemiBold)
)
Karla = FontFamily(
Font(R.font.karla_regular, FontWeight.Normal),
Font(R.font.karla_bold, FontWeight.Bold)
)

setContent {
MaterialTheme {
JetsnackApp()
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 151675c

Please sign in to comment.