Skip to content

Commit 10991d0

Browse files
committed
refactor: Improve formatting of getLeadingIconState call in OmnibarLayoutViewModel
1 parent f6446c7 commit 10991d0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

app/src/main/java/com/duckduckgo/app/browser/omnibar/OmnibarLayoutViewModel.kt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -664,9 +664,11 @@ class OmnibarLayoutViewModel @Inject constructor(
664664
url = _viewState.value.url,
665665
logoUrl = omnibarViewState.serpLogo.logoUrl,
666666
)
667-
SerpLogo.Normal,
668-
null,
669-
-> getLeadingIconState(hasFocus = omnibarViewState.isEditing, url = _viewState.value.url, logoUrl = null)
667+
SerpLogo.Normal, null -> getLeadingIconState(
668+
hasFocus = omnibarViewState.isEditing,
669+
url = _viewState.value.url,
670+
logoUrl = null,
671+
)
670672
},
671673
)
672674
}

0 commit comments

Comments
 (0)