-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
130 additions
and
122 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
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
16 changes: 8 additions & 8 deletions
16
app/src/main/java/com/xinto/mauth/ui/navigation/MauthDestination.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,27 +1,27 @@ | ||
package com.xinto.mauth.ui.navigation | ||
|
||
import android.os.Parcelable | ||
import com.xinto.mauth.domain.account.model.DomainAccountInfo | ||
import com.xinto.taxi.Destination | ||
import kotlinx.parcelize.Parcelize | ||
import java.util.* | ||
import java.util.UUID | ||
|
||
sealed class MauthDestination(val isFullscreenDialog: Boolean = false) : Destination { | ||
sealed class MauthDestination(val isFullscreenDialog: Boolean = false) : Parcelable { | ||
@Parcelize | ||
object Home : MauthDestination() | ||
data object Home : MauthDestination() | ||
|
||
@Parcelize | ||
object QrScanner : MauthDestination() | ||
data object QrScanner : MauthDestination() | ||
|
||
@Parcelize | ||
class AddAccount( | ||
data class AddAccount( | ||
val params: DomainAccountInfo | ||
) : MauthDestination(isFullscreenDialog = true) | ||
|
||
@Parcelize | ||
class EditAccount( | ||
data class EditAccount( | ||
val id: UUID, | ||
) : MauthDestination(isFullscreenDialog = true) | ||
|
||
@Parcelize | ||
object Settings : MauthDestination() | ||
data object Settings : MauthDestination() | ||
} |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
plugins { | ||
id("com.android.application") version "8.0.2" apply false | ||
kotlin("android") version "1.8.21" apply false | ||
id("com.google.devtools.ksp") version "1.8.21-1.0.11" apply false | ||
id("com.android.application") version "8.1.0" apply false | ||
kotlin("android") version "1.9.0" apply false | ||
id("com.google.devtools.ksp") version "1.9.0-1.0.13" apply false | ||
} |