-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- đa ngôn ngữ cho màn thay password và một và component
- Loading branch information
Showing
10 changed files
with
58 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,5 +33,5 @@ | |
] | ||
} | ||
], | ||
"minSdkVersionForDexing": 29 | ||
"minSdkVersionForDexing": 28 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
...ckmem/presentation/app/settings/user_info/change_password/ChangePasswordSettingUiEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
package com.pwhs.quickmem.presentation.app.settings.user_info.change_password | ||
|
||
import androidx.annotation.StringRes | ||
|
||
sealed class ChangePasswordSettingUiEvent { | ||
data class OnError(val errorMessage: String) : ChangePasswordSettingUiEvent() | ||
data class OnError(@StringRes val errorMessage: Int) : ChangePasswordSettingUiEvent() | ||
data object OnPasswordChanged : ChangePasswordSettingUiEvent() | ||
} |
8 changes: 5 additions & 3 deletions
8
...ckmem/presentation/app/settings/user_info/change_password/ChangePasswordSettingUiState.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
package com.pwhs.quickmem.presentation.app.settings.user_info.change_password | ||
|
||
import androidx.annotation.StringRes | ||
|
||
data class ChangePasswordSettingUiState( | ||
val email: String = "", | ||
val currentPassword: String = "", | ||
val newPassword: String = "", | ||
val confirmPassword: String = "", | ||
val errorCurrentPassword: String = "", | ||
val errorNewPassword: String = "", | ||
val errorConfirmPassword: String = "", | ||
@StringRes val errorCurrentPassword: Int? = null, | ||
@StringRes val errorNewPassword: Int? = null, | ||
@StringRes val errorConfirmPassword: Int? = null, | ||
val isLoading: Boolean = false, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters