Skip to content

Commit 62875f5

Browse files
authored
Fix switch to tab icon regression (#6528)
Task/Issue URL: https://app.asana.com/1/137249556945/project/1200204095367872/task/1210966431908668?focus=true ### Description - Updates the switch to tab icon in auto complete. ### Steps to test this PR - [x] Create two tabs - [x] Type the name of the second tab - [x] Verify that the icon in auto complete is correct - [x] Enable the Input Screen - [x] Type the name of the second tab - [x] Verify that the icon in auto complete is correct
1 parent cfd7b09 commit 62875f5

File tree

3 files changed

+31
-2
lines changed

3 files changed

+31
-2
lines changed

app/src/main/res/layout/item_autocomplete_switch_to_tab_suggestion.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
android:layout_width="wrap_content"
3030
android:layout_height="wrap_content"
3131
android:importantForAccessibility="no"
32-
android:src="@drawable/ic_tab_24"
32+
android:src="@drawable/ic_tabs_24"
3333
app:layout_constraintBottom_toBottomOf="parent"
3434
app:layout_constraintStart_toStartOf="parent"
3535
app:layout_constraintTop_toTopOf="parent" />
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!--
2+
~ Copyright (c) 2025 DuckDuckGo
3+
~
4+
~ Licensed under the Apache License, Version 2.0 (the "License");
5+
~ you may not use this file except in compliance with the License.
6+
~ You may obtain a copy of the License at
7+
~
8+
~ http://www.apache.org/licenses/LICENSE-2.0
9+
~
10+
~ Unless required by applicable law or agreed to in writing, software
11+
~ distributed under the License is distributed on an "AS IS" BASIS,
12+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
~ See the License for the specific language governing permissions and
14+
~ limitations under the License.
15+
-->
16+
17+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
18+
android:width="24dp"
19+
android:height="24dp"
20+
android:viewportWidth="24"
21+
android:viewportHeight="24">
22+
<path
23+
android:pathData="M6,7a5,5 0,0 1,5 -5h6a5,5 0,0 1,5 5v6a5,5 0,0 1,-5 5h-6a5,5 0,0 1,-5 -5L6,7ZM11,3.5h6A3.5,3.5 0,0 1,20.5 7v6a3.5,3.5 0,0 1,-3.5 3.5h-6A3.5,3.5 0,0 1,7.5 13L7.5,7A3.5,3.5 0,0 1,11 3.5Z"
24+
android:fillColor="?attr/daxColorPrimaryIcon"
25+
android:fillType="evenOdd"/>
26+
<path
27+
android:pathData="M3.411,6.95c0.466,-0.396 1.09,0.008 1.09,0.619 0,0.271 -0.135,0.52 -0.321,0.717A2.491,2.491 0,0 0,3.5 10v5A5.5,5.5 0,0 0,9 20.5h5c0.663,0 1.266,-0.259 1.713,-0.68 0.198,-0.185 0.447,-0.32 0.718,-0.32 0.61,0 1.014,0.623 0.618,1.089A3.991,3.991 0,0 1,14 21.999H9a7,7 0,0 1,-7 -7v-5c0,-1.221 0.548,-2.315 1.411,-3.049Z"
28+
android:fillColor="?attr/daxColorPrimaryIcon"/>
29+
</vector>

duckchat/duckchat-impl/src/main/res/layout/item_autocomplete_switch_to_tab_suggestion.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
android:layout_width="wrap_content"
3030
android:layout_height="wrap_content"
3131
android:importantForAccessibility="no"
32-
android:src="@drawable/ic_tab_24"
32+
android:src="@drawable/ic_tabs_24"
3333
app:layout_constraintBottom_toBottomOf="parent"
3434
app:layout_constraintStart_toStartOf="parent"
3535
app:layout_constraintTop_toTopOf="parent" />

0 commit comments

Comments
 (0)