From 86d79276c6de6dd4ce7b8ef59fd3caaab42c478f Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Tue, 30 Apr 2024 16:09:16 +0200 Subject: [PATCH] change: Correct some package references in KDoc --- app/src/main/java/app/pachli/TabViewData.kt | 2 +- app/src/main/java/app/pachli/fragment/ViewVideoFragment.kt | 4 ++-- app/src/main/java/app/pachli/view/PollView.kt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/app/pachli/TabViewData.kt b/app/src/main/java/app/pachli/TabViewData.kt index 614ee5362..92d672bae 100644 --- a/app/src/main/java/app/pachli/TabViewData.kt +++ b/app/src/main/java/app/pachli/TabViewData.kt @@ -41,7 +41,7 @@ import app.pachli.core.network.model.Status * @param icon icon to use when displaying the tab * @param fragment [Fragment] to display the tab's contents * @param title title to display in the action bar if this tab is active - * @param composeIntent intent to launch [ComposeActivity] for this timeline, or null + * @param composeIntent intent to launch [app.pachli.components.compose.ComposeActivity] for this timeline, or null * if composing from this timeline is not supported */ data class TabViewData( diff --git a/app/src/main/java/app/pachli/fragment/ViewVideoFragment.kt b/app/src/main/java/app/pachli/fragment/ViewVideoFragment.kt index de8406485..e99e66154 100644 --- a/app/src/main/java/app/pachli/fragment/ViewVideoFragment.kt +++ b/app/src/main/java/app/pachli/fragment/ViewVideoFragment.kt @@ -66,8 +66,8 @@ import okhttp3.OkHttpClient * UI behaviour: * * - Fragment starts, media description is visible at top of screen, video starts playing - * - Media description + toolbar disappears after [CONTROLS_TIMEOUT] - * - Tapping shows controls + media description + toolbar, which fade after [CONTROLS_TIMEOUT] + * - Media description + toolbar disappears after [ViewMediaFragment.CONTROLS_TIMEOUT] + * - Tapping shows controls + media description + toolbar, which fade after [ViewMediaFragment.CONTROLS_TIMEOUT] * - Tapping pause, or the media description, pauses the video and the controls + media description * remain visible */ diff --git a/app/src/main/java/app/pachli/view/PollView.kt b/app/src/main/java/app/pachli/view/PollView.kt index eaaee2e67..19419f079 100644 --- a/app/src/main/java/app/pachli/view/PollView.kt +++ b/app/src/main/java/app/pachli/view/PollView.kt @@ -61,7 +61,7 @@ typealias PollClickListener = (choices: List?) -> Unit * * Otherwise the results of the poll are shown. * - * Classes hosting this should provide a [PollView.OnClickListener] to be notified when the + * Classes hosting this should provide a [PollClickListener] to be notified when the * user clicks on the poll (either to vote, or to navigate). */ class PollView @JvmOverloads constructor(