Skip to content

Commit 9fafe70

Browse files
committed
Fix SwiftLint line length violations
1 parent bee5537 commit 9fafe70

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

firefox-ios/Client/Frontend/Translations/TranslationsMiddleware.swift

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,12 @@ final class TranslationsMiddleware: FeatureFlaggable {
280280
)?.isPrivateMode ?? false
281281
let originatingTab = selectedTab(for: action.windowUUID)
282282
self.handleUpdatingTranslationIcon(windowUUID: action.windowUUID, with: .loading, on: originatingTab)
283-
retrieveTranslations(windowUUID: action.windowUUID, targetLanguage: language, isPrivate: isPrivate, on: originatingTab)
283+
retrieveTranslations(
284+
windowUUID: action.windowUUID,
285+
targetLanguage: language,
286+
isPrivate: isPrivate,
287+
on: originatingTab
288+
)
284289
}
285290

286291
private func handleLanguageSelected(for action: TranslationLanguageSelectedAction, and state: AppState) {
@@ -380,7 +385,13 @@ final class TranslationsMiddleware: FeatureFlaggable {
380385
translationFlowIds[windowUUID] = newFlowId
381386
selectedTargetLanguages[windowUUID] = targetLanguage
382387
handleUpdatingTranslationIcon(windowUUID: windowUUID, with: .loading, on: tab)
383-
retrieveTranslations(windowUUID: windowUUID, targetLanguage: targetLanguage, isPrivate: isPrivate, autoTranslate: true, on: tab)
388+
retrieveTranslations(
389+
windowUUID: windowUUID,
390+
targetLanguage: targetLanguage,
391+
isPrivate: isPrivate,
392+
autoTranslate: true,
393+
on: tab
394+
)
384395
return true
385396
}
386397

0 commit comments

Comments
 (0)