Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/android_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v2

- name: Gradle cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
Expand Down
8 changes: 6 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.DATEROAD"
android:theme="@style/Theme.App.Starting"
android:usesCleartextTraffic="true"
tools:targetApi="31">

Expand Down Expand Up @@ -48,8 +48,10 @@
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:host="oauth"
android:scheme="kakao${KAKAO_NATIVE_APP_KEY_MANIFEST}" />
Expand All @@ -62,7 +64,7 @@
android:exported="true"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@style/Theme.DATEROAD">
android:theme="@style/Theme.App.Starting">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand All @@ -75,8 +77,10 @@
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:host="kakaolink"
android:scheme="kakao${KAKAO_NATIVE_APP_KEY_MANIFEST}" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ fun MyPageRoute(
LoadState.Success -> {
navigateToSignIn()
}

else -> Unit
}

Expand Down Expand Up @@ -266,6 +267,7 @@ fun MyPageScreen(
}
Spacer(modifier = Modifier.weight(1f))
DateRoadTextButton(
modifier = Modifier.align(Alignment.Start),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

굿

textContent = stringResource(id = R.string.my_page_menu_withdrawal),
textStyle = DateRoadTheme.typography.bodyMed13,
textColor = DateRoadTheme.colors.gray400,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen
import dagger.hilt.android.AndroidEntryPoint
import kotlinx.coroutines.delay
import org.sopt.teamdateroad.presentation.ui.splash.SplashScreen
Expand All @@ -19,9 +18,6 @@ class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)

installSplashScreen().setOnExitAnimationListener { splashScreenView ->
splashScreenView.remove()
}
setContent {
val navigator: MainNavigator = rememberMainNavigator()
var showSplash by remember { mutableStateOf(true) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ fun MainNavHost(
NavHost(
navController = navigator.navHostController,
startDestination = navigator.startDestination
// startDestination = navigator.startDestination
) {
advertisementGraph(
popBackStack = navigator::popBackStackIfNotHome
Expand Down
6 changes: 6 additions & 0 deletions app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
<resources>

<style name="Theme.DATEROAD" parent="android:Theme.Material.Light.NoActionBar">
<item name="android:windowNoTitle">true</item>
</style>

<style name="Theme.App.Starting" parent="Theme.SplashScreen">
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsTranslucent">true</item>
<item name="postSplashScreenTheme">@style/Theme.DATEROAD</item>
</style>
</resources>
Binary file added ktlint
Binary file not shown.