File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
duckchat/duckchat-impl/src/main
java/com/duckduckgo/duckchat/impl/ui Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ class DuckChatOmnibarLayout @JvmOverloads constructor(
3636 internal val tabsMenu: NewTabSwitcherButton by lazy { findViewById(R .id.inputFieldTabsMenu) }
3737 internal val fireIconMenu: FrameLayout by lazy { findViewById(R .id.inputFieldFireButton) }
3838 internal val browserMenu: FrameLayout by lazy { findViewById(R .id.inputFieldBrowserMenu) }
39+ internal val historyMenu: FrameLayout by lazy { findViewById(R .id.duckAiHistoryButton) }
3940
4041 private var omnibarItemPressedListener: ItemPressedListener ? = null
4142
@@ -68,6 +69,10 @@ class DuckChatOmnibarLayout @JvmOverloads constructor(
6869 browserMenu.setOnClickListener {
6970 omnibarItemPressedListener?.onBrowserMenuPressed()
7071 }
72+
73+ historyMenu.setOnClickListener {
74+ omnibarItemPressedListener?.onHistoryMenuPressed()
75+ }
7176 }
7277
7378 fun setTabsCount (tabs : Int ) {
Original file line number Diff line number Diff line change 7272 android : id =" @+id/daxIcon"
7373 android : layout_width =" @dimen/toolbarIconSize"
7474 android : layout_height =" @dimen/toolbarIconSize"
75- android : layout_gravity =" center"
7675 android : importantForAccessibility =" no"
7776 android : scaleType =" fitCenter"
7877 app : srcCompat =" @drawable/ic_dax_icon"
8685 android : importantForAccessibility =" no"
8786 android : scaleType =" fitCenter"
8887 android : layout_marginStart =" @dimen/keyline_1"
89- app : srcCompat =" @drawable/ic_chevron_right_24 "
88+ app : srcCompat =" @drawable/ic_chevron_small_right_24 "
9089 tools : visibility =" visible" />
9190
9291 <ImageView
You can’t perform that action at this time.
0 commit comments