File tree Expand file tree Collapse file tree
main/src/main/java/com/terning/feature/main
mypage/src/main/java/com/terning/feature/mypage/mypage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,10 +2,12 @@ package com.terning.feature.main
22
33import android.content.Context
44import android.content.Intent
5+ import android.os.Build
56import android.os.Bundle
67import androidx.activity.ComponentActivity
78import androidx.activity.compose.setContent
89import androidx.activity.enableEdgeToEdge
10+ import androidx.annotation.RequiresApi
911import androidx.compose.runtime.CompositionLocalProvider
1012import com.terning.core.analytics.AmplitudeTracker
1113import com.terning.core.analytics.LocalTracker
@@ -19,6 +21,7 @@ class MainActivity : ComponentActivity() {
1921 @Inject
2022 lateinit var tracker: AmplitudeTracker
2123
24+ @RequiresApi(Build .VERSION_CODES .TIRAMISU )
2225 override fun onCreate (savedInstanceState : Bundle ? ) {
2326 super .onCreate(savedInstanceState)
2427 enableEdgeToEdge()
Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ package com.terning.feature.main
22
33import android.app.Activity
44import android.content.Intent
5+ import android.os.Build
56import androidx.activity.compose.BackHandler
7+ import androidx.annotation.RequiresApi
68import androidx.compose.animation.EnterTransition
79import androidx.compose.animation.ExitTransition
810import androidx.compose.foundation.layout.Column
@@ -57,6 +59,7 @@ import com.terning.feature.splash.navigation.splashNavGraph
5759import kotlinx.collections.immutable.toImmutableList
5860import kotlinx.coroutines.launch
5961
62+ @RequiresApi(Build .VERSION_CODES .TIRAMISU )
6063@Composable
6164fun MainScreen (
6265 redirect : String? ,
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import androidx.compose.runtime.Immutable
55import androidx.compose.runtime.Stable
66
77@Stable
8- sealed interface MyPageUiModel {
8+ internal sealed interface MyPageUiModel {
99 @Immutable
1010 data class Header (
1111 val text : Int
Original file line number Diff line number Diff line change 11package com.terning.feature.mypage.mypage.navigation
22
3+ import android.os.Build
4+ import androidx.annotation.RequiresApi
35import androidx.compose.foundation.layout.PaddingValues
46import androidx.navigation.NavController
57import androidx.navigation.NavGraphBuilder
@@ -18,6 +20,7 @@ fun NavController.navigateMyPage(navOptions: NavOptions? = null) {
1820 )
1921}
2022
23+ @RequiresApi(Build .VERSION_CODES .TIRAMISU )
2124fun NavGraphBuilder.myPageNavGraph (
2225 paddingValues : PaddingValues ,
2326 navHostController : NavHostController ,
You can’t perform that action at this time.
0 commit comments