Skip to content

Commit

Permalink
[chore] #96 ktlintformat
Browse files Browse the repository at this point in the history
  • Loading branch information
cacaocoffee committed Jul 17, 2024
1 parent 1dc1d17 commit 4e21661
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ fun RecordyValidateTextfield(
keyboardActions = keyboardActions,
singleLine = maxLines == 1,
cursorBrush = Brush.verticalGradient(
colors = listOf(RecordyTheme.colors.gray01, RecordyTheme.colors.gray01)
colors = listOf(RecordyTheme.colors.gray01, RecordyTheme.colors.gray01),
),
decorationBox = { innerTextField ->
if (value.isEmpty() && !isFocused) {
Expand All @@ -110,7 +110,7 @@ fun RecordyValidateTextfield(
)
}
innerTextField()
}
},
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,12 @@ import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.imePadding
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.pager.HorizontalPager
import androidx.compose.foundation.pager.rememberPagerState
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
Expand All @@ -29,7 +26,6 @@ import androidx.compose.ui.graphics.Brush
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.layout.onGloballyPositioned
import androidx.compose.ui.platform.LocalFocusManager
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.IntSize
import androidx.compose.ui.unit.dp
Expand All @@ -42,7 +38,6 @@ import com.record.designsystem.theme.RecordyTheme
import com.record.login.singup.screen.NamingScreen
import com.record.login.singup.screen.PolicyScreen
import com.record.login.singup.screen.SignUpSuccessScreen
import kotlinx.coroutines.flow.collectLatest
import kotlinx.coroutines.launch

@OptIn(ExperimentalFoundationApi::class)
Expand All @@ -61,7 +56,7 @@ fun SignUpRoute(
mutableStateOf(IntSize.Zero)
}

BackHandler(enabled = pagerState.currentPage >= 1 && pagerState.currentPage!=2) {
BackHandler(enabled = pagerState.currentPage >= 1 && pagerState.currentPage != 2) {
coroutineScope.launch {
viewModel.navScreen(pagerState.currentPage - 1)
pagerState.animateScrollToPage(
Expand Down

0 comments on commit 4e21661

Please sign in to comment.