Skip to content

Commit 966f550

Browse files
committed
deeplink file cleanup
1 parent d87629e commit 966f550

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

core/core/src/main/java/pseudoankit/droid/core/deeplink/TaskyDeeplink.kt

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,16 @@ package pseudoankit.droid.core.deeplink
55
* Preferred way to create deeplink is via [pseudoankit.droid.navigation.deeplink.DeepLinkProvider]
66
*/
77
object TaskyDeeplink {
8-
private const val SCHEME = "tasky://"
9-
10-
private object Host {
11-
const val registration = "registration"
12-
const val login = "login"
13-
const val home = "home"
14-
const val reminder = "reminder"
15-
const val agendaSelection = "agendaSelection"
16-
}
17-
188
object Path {
199
object Reminder {
2010
const val action = "{action}"
2111
}
2212
}
2313

24-
const val login = "${SCHEME}${Host.login}"
25-
const val registration = "${SCHEME}${Host.registration}"
26-
const val home = "${SCHEME}${Host.home}"
27-
const val reminder = "${SCHEME}${Host.reminder}/${Path.Reminder.action}"
28-
const val agendaSelection = "${SCHEME}${Host.agendaSelection}"
14+
const val login = "tasky://login"
15+
const val registration = "tasky://registration"
16+
const val home = "tasky://home"
17+
const val reminder = "tasky://reminder/${Path.Reminder.action}"
18+
const val agendaSelection = "tasky://agendaSelection"
19+
const val profile = "tasky://profile"
2920
}

0 commit comments

Comments
 (0)