From 28a517eb6dbaf7513c33232a5dec671eda308bd5 Mon Sep 17 00:00:00 2001 From: jhnstn Date: Mon, 15 Jan 2024 13:08:03 -0500 Subject: [PATCH] linting: line length --- .../ui/posts/editor/media/RetryFailedMediaUploadUseCase.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WordPress/src/main/java/org/wordpress/android/ui/posts/editor/media/RetryFailedMediaUploadUseCase.kt b/WordPress/src/main/java/org/wordpress/android/ui/posts/editor/media/RetryFailedMediaUploadUseCase.kt index 69373ee95e8d..d3edb6ff9269 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/posts/editor/media/RetryFailedMediaUploadUseCase.kt +++ b/WordPress/src/main/java/org/wordpress/android/ui/posts/editor/media/RetryFailedMediaUploadUseCase.kt @@ -38,7 +38,8 @@ class RetryFailedMediaUploadUseCase @Inject constructor( editorMediaListener, mediaModels ) - val site: SiteModel? = siteStore.getSiteByLocalId(editorMediaListener.getImmutablePost().localSiteId) + val siteId = editorMediaListener.getImmutablePost().localSiteId + val site: SiteModel? = siteStore.getSiteByLocalId(siteId) AnalyticsUtils.trackWithSiteDetails(tracker, Stat.EDITOR_UPLOAD_MEDIA_RETRIED, site, null); } }