From 316f6fd810daa2aa21b73f2dfb2f74f62902ba8c Mon Sep 17 00:00:00 2001 From: Sasikanth Miriyampalli Date: Wed, 18 Oct 2023 13:09:30 +0530 Subject: [PATCH] Disable feed link input back button when fetching feed --- .../dev/sasikanth/rss/reader/home/ui/FeedLinkInputField.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/home/ui/FeedLinkInputField.kt b/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/home/ui/FeedLinkInputField.kt index 23202a5c6..6aad6a0b2 100644 --- a/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/home/ui/FeedLinkInputField.kt +++ b/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/home/ui/FeedLinkInputField.kt @@ -100,7 +100,7 @@ internal fun FeedLinkInputField( errorIndicatorColor = Color.Transparent, ), leadingIcon = { - IconButton(onClick = onCancelFeedEntryClicked) { + IconButton(onClick = onCancelFeedEntryClicked, enabled = !isFetchingFeed) { Icon( imageVector = Icons.Rounded.ArrowBack, contentDescription = null,