We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50f9f49 commit a863754Copy full SHA for a863754
app/src/main/java/com/duckduckgo/app/browser/omnibar/Omnibar.kt
@@ -165,7 +165,7 @@ class Omnibar(
165
binding.rootView.removeView(binding.omnibarLayoutBottom)
166
167
return when (omnibarType) {
168
- OmnibarType.SINGLE_TOP, OmnibarType.SPLIT -> {
+ OmnibarType.SINGLE_TOP -> {
169
binding.rootView.removeView(binding.singleOmnibarLayoutBottom)
170
binding.singleOmnibarLayoutTop
171
}
@@ -175,6 +175,7 @@ class Omnibar(
175
adjustCoordinatorLayoutBehaviorForBottomOmnibar()
176
binding.singleOmnibarLayoutBottom
177
178
+ else -> throw IllegalStateException("Invalid omnibar type for single omnibar setup: $omnibarType")
179
180
181
0 commit comments