Skip to content

Commit d33cb74

Browse files
committed
Fix ktlint issue
1 parent e7aeca7 commit d33cb74

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/src/main/java/com/duckduckgo/app/tabs/ui/TabSwitcherViewModel.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,9 @@ class TabSwitcherViewModel @Inject constructor(
213213
title = entity?.title ?: "",
214214
)
215215
} else if (mode.selectedTabs.size > 1) {
216-
val links = tabSwitcherItems.value?.filter { it.id in mode.selectedTabs }?.mapNotNull { (it as? TabSwitcherItem.Tab)?.tabEntity?.url }
216+
val links = tabSwitcherItems.value
217+
?.filter { it.id in mode.selectedTabs }
218+
?.mapNotNull { (it as? TabSwitcherItem.Tab)?.tabEntity?.url }
217219
command.value = ShareLinks(links ?: emptyList())
218220
}
219221
}

0 commit comments

Comments
 (0)