File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
app/src/main/java/com/eps/todoturtle/profile/ui/login Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import androidx.compose.ui.text.withStyle
2020import androidx.compose.ui.tooling.preview.Preview
2121import androidx.compose.ui.unit.dp
2222import com.eps.todoturtle.R
23+ import com.eps.todoturtle.mock.MockValues
2324import com.eps.todoturtle.profile.ui.shared.CenteredPicture
2425import com.eps.todoturtle.profile.ui.shared.ProfileUI
2526import com.eps.todoturtle.shared.logic.extensions.bitmapFrom
@@ -43,9 +44,7 @@ fun LoginContent(
4344 val username = rememberSaveable { mutableStateOf(" " ) }
4445 val password = rememberSaveable { mutableStateOf(" " ) }
4546 val loginMethod = login ? : {
46- // TODO: Change mock true to commented code
47- // username.value == MockValues.USERNAME.getValue() && password.value == MockValues.PASSWORD.getValue()
48- true
47+ username.value == MockValues .USERNAME .getValue() && password.value == MockValues .PASSWORD .getValue()
4948 }
5049
5150 Spacer (modifier = Modifier .size(20 .dp))
You can’t perform that action at this time.
0 commit comments