diff --git a/app/src/main/java/app/pachli/components/notifications/NotificationFetcher.kt b/app/src/main/java/app/pachli/components/notifications/NotificationFetcher.kt index 8cd460eca..3aef4cb43 100644 --- a/app/src/main/java/app/pachli/components/notifications/NotificationFetcher.kt +++ b/app/src/main/java/app/pachli/components/notifications/NotificationFetcher.kt @@ -39,7 +39,7 @@ import kotlin.time.Duration.Companion.milliseconds * * Should only be called by a worker thread. * - * @see NotificationWorker + * @see app.pachli.worker.NotificationWorker * @see Background worker */ @WorkerThread diff --git a/app/src/main/java/app/pachli/components/timeline/CachedTimelineRepository.kt b/app/src/main/java/app/pachli/components/timeline/CachedTimelineRepository.kt index 697126b2c..b99da1119 100644 --- a/app/src/main/java/app/pachli/components/timeline/CachedTimelineRepository.kt +++ b/app/src/main/java/app/pachli/components/timeline/CachedTimelineRepository.kt @@ -99,7 +99,7 @@ class CachedTimelineRepository @Inject constructor( ).flow } - /** Invalidate the active paging source, see [PagingSource.invalidate] */ + /** Invalidate the active paging source, see [androidx.paging.PagingSource.invalidate] */ suspend fun invalidate() { // Invalidating when no statuses have been loaded can cause empty timelines because it // cancels the network load. diff --git a/app/src/main/java/app/pachli/di/CoroutineScopeModule.kt b/app/src/main/java/app/pachli/di/CoroutineScopeModule.kt index bb77c4c5a..2346ac661 100644 --- a/app/src/main/java/app/pachli/di/CoroutineScopeModule.kt +++ b/app/src/main/java/app/pachli/di/CoroutineScopeModule.kt @@ -30,7 +30,7 @@ import javax.inject.Qualifier * time, that call should not be cancelled because the user has navigated away from * the viewmodel that made the call. * - * @see https://developer.android.com/topic/architecture/data-layer#make_an_operation_live_longer_than_the_screen + * See [make_an_operation_live_longer_than_the_screen](https://developer.android.com/topic/architecture/data-layer#make_an_operation_live_longer_than_the_screen). */ @Retention(AnnotationRetention.BINARY) @Qualifier diff --git a/app/src/main/java/app/pachli/util/CompositeWithOpaqueBackground.kt b/app/src/main/java/app/pachli/util/CompositeWithOpaqueBackground.kt index 664828b57..965e4dbbb 100644 --- a/app/src/main/java/app/pachli/util/CompositeWithOpaqueBackground.kt +++ b/app/src/main/java/app/pachli/util/CompositeWithOpaqueBackground.kt @@ -49,7 +49,7 @@ import java.security.MessageDigest * * - Creating a mask that matches the partially transparent areas of the image * - Creating a new bitmap that, in the areas that match the mask, contains the same background - * drawable as the [ImageView]. + * drawable as the [android.widget.ImageView]. * - Composite the original image over the top * * So the partially transparent areas on the original image are composited over the original diff --git a/app/src/main/java/app/pachli/util/HttpHeaderLink.kt b/app/src/main/java/app/pachli/util/HttpHeaderLink.kt index 18ea1d52f..1384fe676 100644 --- a/app/src/main/java/app/pachli/util/HttpHeaderLink.kt +++ b/app/src/main/java/app/pachli/util/HttpHeaderLink.kt @@ -23,7 +23,7 @@ import androidx.core.net.toUri /** * Represents one link and its parameters from the link header of an HTTP message. * - * @see [RFC5988](https://tools.ietf.org/html/rfc5988) + * See [RFC5988](https://tools.ietf.org/html/rfc5988) */ class HttpHeaderLink @VisibleForTesting(otherwise = VisibleForTesting.PRIVATE) diff --git a/app/src/main/java/app/pachli/util/ViewExtensions.kt b/app/src/main/java/app/pachli/util/ViewExtensions.kt index 9606349ef..5d2be96f9 100644 --- a/app/src/main/java/app/pachli/util/ViewExtensions.kt +++ b/app/src/main/java/app/pachli/util/ViewExtensions.kt @@ -72,7 +72,7 @@ fun ViewPager2.reduceSwipeSensitivity() { * TextViews with an ancestor RecyclerView can forget that they are selectable. Toggling * calls to [TextView.setTextIsSelectable] fixes this. * - * @see https://issuetracker.google.com/issues/37095917 + * See [https://issuetracker.google.com/issues/37095917](https://issuetracker.google.com/issues/37095917) */ fun TextView.fixTextSelection() { setTextIsSelectable(false)