From a780eaac6b125c7b7b25fdcefc71296400793e32 Mon Sep 17 00:00:00 2001 From: Philipp Keck Date: Sun, 18 Feb 2024 11:44:15 +0100 Subject: [PATCH] Drop false-positive deprecation of pagerTabIndicatorOffset() Fixes #1744. The deprecation was intended to apply only to the old overload above, but was presumably copy-pasted by accident. --- .../src/main/java/com/google/accompanist/pager/PagerTab.kt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pager-indicators/src/main/java/com/google/accompanist/pager/PagerTab.kt b/pager-indicators/src/main/java/com/google/accompanist/pager/PagerTab.kt index 072675cd0..2a1fd50e1 100644 --- a/pager-indicators/src/main/java/com/google/accompanist/pager/PagerTab.kt +++ b/pager-indicators/src/main/java/com/google/accompanist/pager/PagerTab.kt @@ -60,13 +60,6 @@ public fun Modifier.pagerTabIndicatorOffset( * [androidx.compose.foundation.pager.VerticalPager]. */ @OptIn(ExperimentalFoundationApi::class) -@Deprecated( - """ - pagerTabIndicatorOffset for accompanist Pagers are deprecated, please use the version that takes - androidx.compose.foundation.pager.PagerState instead -For more migration information, please visit https://google.github.io/accompanist/pager/#migration -""" -) public fun Modifier.pagerTabIndicatorOffset( pagerState: androidx.compose.foundation.pager.PagerState, tabPositions: List,