-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from Tiqr/feature/edured-79_remove_linked_acco…
…unt_connection Feature/edured 79 remove linked account connection
- Loading branch information
Showing
27 changed files
with
317 additions
and
233 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package nl.eduid | ||
|
||
data class ErrorData(val title: String, val message: String) |
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
2 changes: 1 addition & 1 deletion
2
app/src/main/kotlin/nl/eduid/screens/firsttimedialog/UiState.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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,9 @@ package nl.eduid.screens.personalinfo | |
|
||
data class PersonalInfo( | ||
val name: String = "", | ||
val nameProvider: String = "", | ||
val nameProvider: String? = null, | ||
val nameStatus: InfoStatus = InfoStatus.Final, | ||
val email: String = "", | ||
val emailProvider: String = "", | ||
val emailStatus: InfoStatus = InfoStatus.Final, | ||
val institutionAccounts: List<InstitutionAccount> = emptyList(), | ||
val dateCreated: Long = 0, | ||
|
@@ -20,21 +19,20 @@ data class PersonalInfo( | |
val createdStamp: Long, | ||
val expiryStamp: Long, | ||
) | ||
|
||
fun demoData(): PersonalInfo { | ||
return PersonalInfo( | ||
name = "R. van Hamersdonksveer", | ||
nameProvider = "Universiteit van Amsterdam", | ||
nameStatus = InfoStatus.Final, | ||
email = "[email protected]", | ||
emailProvider = "You", | ||
emailStatus = InfoStatus.Editable, | ||
institutionAccounts = emptyList(), | ||
) | ||
} | ||
} | ||
|
||
sealed class InfoStatus { | ||
object Empty : InfoStatus() | ||
object Editable : InfoStatus() | ||
object Final : InfoStatus() | ||
} | ||
|
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
Oops, something went wrong.