Skip to content

Commit

Permalink
refactor: Clean some TODOs code
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBoulongne committed Nov 12, 2024
1 parent 470b2fe commit 69520d9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ import org.matomo.sdk.Tracker

object MatomoSwissTransfer : Matomo {

override val Context.tracker: Tracker get() = buildTracker() //TODO fetch appSettings for opt out
override val siteId: Int = -1 //TODO replace with the right site ID when we have one
override val Context.tracker: Tracker get() = buildTracker() // TODO: Fetch appSettings for opt-out
override val siteId: Int = -1 // TODO: Replace with the right site ID when we have one
}
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private fun HandleSendActionResult(
LaunchedEffect(getSendActionResult()) {
when (val actionResult = getSendActionResult()) {
is SendActionResult.Success -> navigateToUploadProgress(transferType(), actionResult.totalSize)
is SendActionResult.Failure -> Unit //TODO: Show error
is SendActionResult.Failure -> Unit // TODO: Show error
else -> Unit
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fun UploadSourceChoiceBottomSheet(
titleRes = R.string.transferUploadSourceChoiceCamera,
onClick = {
closeBottomSheet()
/* TODO */
// TODO: Handle this feature
},
)
HorizontalDivider(Modifier.padding(horizontal = Margin.Medium))
Expand All @@ -62,7 +62,7 @@ fun UploadSourceChoiceBottomSheet(
titleRes = R.string.transferUploadSourceChoiceGallery,
onClick = {
closeBottomSheet()
/* TODO */
// TODO: Handle this feature
},
)
HorizontalDivider(Modifier.padding(horizontal = Margin.Medium))
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencyResolutionManagement {
@Suppress("UnstableApiUsage")
repositories {
google()
// mavenLocal() // TODO Do not put this in production
// mavenLocal() // TODO: Do not put this in production
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
Expand Down

0 comments on commit 69520d9

Please sign in to comment.