@@ -51,7 +51,7 @@ sealed class MainNavigation(override val matomoValue: String) : NavigationDestin
51
51
52
52
// If it has to be renamed, don't forget to rename `*DestinationName` in the companion object too.
53
53
@Serializable
54
- data class SentDestination (val transferUuid : String? = null ) : MainNavigation(" SentScreen " ) {
54
+ data class SentDestination (val transferUuid : String? = null ) : MainNavigation(" SentView " ) {
55
55
56
56
companion object {
57
57
fun NavGraphBuilder.sentDestination (content : @Composable (AnimatedContentScope .(NavBackStackEntry ) -> Unit )) {
@@ -62,7 +62,7 @@ sealed class MainNavigation(override val matomoValue: String) : NavigationDestin
62
62
63
63
// If it has to be renamed, don't forget to rename `*DestinationName` in the companion object too.
64
64
@Serializable
65
- data class ReceivedDestination (val transferUuid : String? = null ) : MainNavigation(" ReceivedScreen " ) {
65
+ data class ReceivedDestination (val transferUuid : String? = null ) : MainNavigation(" ReceivedView " ) {
66
66
67
67
companion object {
68
68
fun NavGraphBuilder.receivedDestination (content : @Composable (AnimatedContentScope .(NavBackStackEntry ) -> Unit )) {
@@ -72,7 +72,7 @@ sealed class MainNavigation(override val matomoValue: String) : NavigationDestin
72
72
}
73
73
74
74
@Serializable
75
- data object SettingsDestination : MainNavigation (" SettingsScreen " )
75
+ data object SettingsDestination : MainNavigation (" SettingsView " )
76
76
77
77
companion object {
78
78
private val TAG = MainNavigation ::class .java.simpleName
@@ -114,37 +114,37 @@ sealed class MainNavigation(override val matomoValue: String) : NavigationDestin
114
114
sealed class NewTransferNavigation (override val matomoValue : String ) : NavigationDestination() {
115
115
116
116
@Serializable
117
- data object ImportFilesDestination : NewTransferNavigation (" ImportFileScreen " )
117
+ data object ImportFilesDestination : NewTransferNavigation (" ImportFileView " )
118
118
119
119
@Serializable
120
- data class ValidateUserEmailDestination (val authorEmail : String ) : NewTransferNavigation(" ValidateUserEmailScreen " )
120
+ data class ValidateUserEmailDestination (val authorEmail : String ) : NewTransferNavigation(" ValidateUserEmailView " )
121
121
122
122
@Serializable
123
123
data class UploadProgressDestination (
124
124
val transferType : TransferTypeUi ,
125
125
val totalSize : Long ,
126
126
val authorEmail : String? ,
127
- ) : NewTransferNavigation(" UploadProgressScreen " )
127
+ ) : NewTransferNavigation(" UploadProgressView " )
128
128
129
129
@Serializable
130
130
data class UploadSuccessDestination (
131
131
val transferType : TransferTypeUi ,
132
132
val transferUuid : String ,
133
133
val transferUrl : String ,
134
- ) : NewTransferNavigation(" UploadSuccessScreen " )
134
+ ) : NewTransferNavigation(" UploadSuccessView " )
135
135
136
136
@Serializable
137
137
data class UploadErrorDestination (
138
138
val transferType : TransferTypeUi ,
139
139
val totalSize : Long ,
140
140
val authorEmail : String? ,
141
- ) : NewTransferNavigation(" UploadErrorScreen " )
141
+ ) : NewTransferNavigation(" UploadErrorView " )
142
142
143
143
@Serializable
144
- data object UploadIntegrityErrorDestination : NewTransferNavigation (" UploadIntegrityErrorScreen " )
144
+ data object UploadIntegrityErrorDestination : NewTransferNavigation (" UploadIntegrityErrorView " )
145
145
146
146
@Serializable
147
- data object NewTransferFilesDetailsDestination : NewTransferNavigation (" NewTransferFilesDetailsScreen " )
147
+ data object NewTransferFilesDetailsDestination : NewTransferNavigation (" NewTransferFilesDetailsView " )
148
148
149
149
companion object {
150
150
val startDestination = ImportFilesDestination
@@ -198,6 +198,6 @@ sealed class NavigationDestination {
198
198
abstract val matomoValue: String
199
199
200
200
fun trackScreen () {
201
- MatomoSwissTransfer .trackScreen(path = " / $matomoValue " , title = matomoValue)
201
+ MatomoSwissTransfer .trackScreen(title = matomoValue)
202
202
}
203
203
}
0 commit comments