DuckAiFeatureState

Properties

Link copied to clipboard
abstract val showInputScreen: StateFlow<Boolean>

Indicates whether focusing the omnibar should navigate to a new Duck.ai input screen with a Search/AI mode switcher.

Link copied to clipboard
abstract val showOmnibarShortcutInAllStates: StateFlow<Boolean>

Indicates whether the Duck AI omnibar shortcut should be shown in all states, including when the omnibar is not focused.

Link copied to clipboard

Indicates whether the Duck AI omnibar shortcut should be shown on the New Tab Page (NTP) and when the omnibar is focused.

Link copied to clipboard
abstract val showPopupMenuShortcut: StateFlow<Boolean>

Indicates whether the Duck AI shortcut should be shown in the popup menus in the main browser tabs as well as on the tab switcher screen.

Link copied to clipboard
abstract val showSettings: StateFlow<Boolean>

Indicates whether the Duck AI settings should be available from the main settings screen.