Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
feat(app): create MainNavigation object to select the navigation's pa…
Browse files Browse the repository at this point in the history
…th in the app
  • Loading branch information
AndreaBrighi committed May 2, 2023
1 parent f90224a commit d20a211
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package com.intelligentbackpack.app.ui.navigation

object MainNavigation {
const val login = "login"
const val home = "home"
const val createUserParam = "email"
const val createUser = "createUser?$createUserParam={$createUserParam}"
fun createUser(email: String) =
if (email.isBlank()) {
"createUser"
} else {
"createUser?$createUserParam=$email"
}
}

0 comments on commit d20a211

Please sign in to comment.