Skip to content

Commit 688144e

Browse files
committed
[fix] #91 불필요한 리소스 사용 제거
1 parent ea7db18 commit 688144e

2 files changed

Lines changed: 4 additions & 22 deletions

File tree

core/designsystem/src/main/res/drawable/icon_neki_text_logo_white.xml

Lines changed: 0 additions & 18 deletions
This file was deleted.

feature/auth/impl/src/main/kotlin/com/neki/android/feature/auth/impl/login/component/LoginBackground.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import androidx.compose.foundation.layout.Column
77
import androidx.compose.foundation.layout.Row
88
import androidx.compose.foundation.layout.fillMaxSize
99
import androidx.compose.foundation.layout.padding
10+
import androidx.compose.foundation.layout.size
1011
import androidx.compose.foundation.layout.width
1112
import androidx.compose.material3.Text
1213
import androidx.compose.runtime.Composable
@@ -18,6 +19,7 @@ import androidx.compose.ui.unit.dp
1819
import androidx.compose.ui.unit.sp
1920
import com.neki.android.core.designsystem.ComponentPreview
2021
import com.neki.android.core.designsystem.R
22+
import com.neki.android.core.designsystem.logo.WhiteNekiTypoLogo
2123
import com.neki.android.core.designsystem.ui.theme.NekiTheme
2224
import com.neki.android.core.ui.compose.VerticalSpacer
2325
import com.neki.android.feature.auth.impl.component.GradientBackground
@@ -40,10 +42,8 @@ internal fun LoginBackground() {
4042
imageVector = ImageVector.vectorResource(R.drawable.icon_neki_logo_white),
4143
contentDescription = null,
4244
)
43-
Image(
44-
modifier = Modifier.width(94.dp),
45-
imageVector = ImageVector.vectorResource(R.drawable.icon_neki_text_logo_white),
46-
contentDescription = null,
45+
WhiteNekiTypoLogo(
46+
modifier = Modifier.size(width = 93.8.dp, height = 36.6.dp),
4747
)
4848
}
4949
VerticalSpacer(24.dp)

0 commit comments

Comments
 (0)