From 012093513426b12bfc84acbc47e54df755553ecf Mon Sep 17 00:00:00 2001 From: Yuichiro Kinoshita Date: Thu, 6 Jul 2023 15:42:21 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB?= =?UTF-8?q?=E7=A7=BB=E5=8B=95=E5=BE=8C=E3=81=AF=E9=81=B8=E6=8A=9E=E7=8A=B6?= =?UTF-8?q?=E6=85=8B=E3=81=8C=E8=A7=A3=E9=99=A4=E3=81=95=E3=82=8C=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../net/pantasystem/milktea/drive/viewmodel/DriveViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/features/drive/src/main/java/net/pantasystem/milktea/drive/viewmodel/DriveViewModel.kt b/modules/features/drive/src/main/java/net/pantasystem/milktea/drive/viewmodel/DriveViewModel.kt index 3c9f2c9de6..477e7b2fa4 100644 --- a/modules/features/drive/src/main/java/net/pantasystem/milktea/drive/viewmodel/DriveViewModel.kt +++ b/modules/features/drive/src/main/java/net/pantasystem/milktea/drive/viewmodel/DriveViewModel.kt @@ -406,7 +406,7 @@ class DriveViewModel @Inject constructor( } } savedStateHandle[STATE_SELECTED_FILE_PROPERTY_IDS] = emptyList() - if (uiState.value.requireSelectedResult) { + if (!uiState.value.requireSelectedResult) { savedStateHandle[STATE_SELECTABLE_MODE] = false } refresh()