From 506cf8d2b05c91b8cde84cc843c4c9a6192e9251 Mon Sep 17 00:00:00 2001 From: Agoni-0 <2748774819@qq.com> Date: Fri, 25 Oct 2024 23:23:40 +0800 Subject: [PATCH] Update ReaderPostDetailViewModel.kt --- .../android/ui/reader/viewmodels/ReaderPostDetailViewModel.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/WordPress/src/main/java/org/wordpress/android/ui/reader/viewmodels/ReaderPostDetailViewModel.kt b/WordPress/src/main/java/org/wordpress/android/ui/reader/viewmodels/ReaderPostDetailViewModel.kt index 485fc6ccff5c..465124161f4d 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/reader/viewmodels/ReaderPostDetailViewModel.kt +++ b/WordPress/src/main/java/org/wordpress/android/ui/reader/viewmodels/ReaderPostDetailViewModel.kt @@ -463,10 +463,6 @@ class ReaderPostDetailViewModel @Inject constructor( } _uiState.value = it.copy(moreMenuItems = moreMenuItems) - }?: run{ - if (_postBlocked.value == true) { - readerPostCardActionsHandler.handleUndoClicked() - } } } }