From 980cb73a5002849a25519b5751044108eb7d449f Mon Sep 17 00:00:00 2001 From: Ajesh R Pai Date: Thu, 2 May 2024 10:25:03 +0530 Subject: [PATCH] =?UTF-8?q?=E2=86=91=20Updates:=20formatting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/wordpress/android/ui/posts/PublishSettingsViewModel.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/WordPress/src/main/java/org/wordpress/android/ui/posts/PublishSettingsViewModel.kt b/WordPress/src/main/java/org/wordpress/android/ui/posts/PublishSettingsViewModel.kt index 7366cc610df0..0c3a87edcbef 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/posts/PublishSettingsViewModel.kt +++ b/WordPress/src/main/java/org/wordpress/android/ui/posts/PublishSettingsViewModel.kt @@ -73,8 +73,7 @@ constructor( editPostRepository = postRepository val startCalendar = postRepository?.takeIf { it.hasPost() }?.let { getCurrentPublishDateAsCalendar(it) - } ?: - localeManagerWrapper.getCurrentCalendar() + } ?: localeManagerWrapper.getCurrentCalendar() updateDateAndTimeFromCalendar(startCalendar) onPostStatusChanged(postRepository?.getPost()) }