Skip to content

Commit

Permalink
add DuckDuckGo on Other Platforms item
Browse files Browse the repository at this point in the history
We had duplicate ic_open_in_24 so I deleted the one in vpn and moved it to common-ui

I'll need it here later for the plugins work
  • Loading branch information
mikescamell committed Nov 29, 2024
1 parent 1421942 commit 8c04d41
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 15 deletions.

This file was deleted.

8 changes: 8 additions & 0 deletions app/src/main/res/layout/content_settings_new_other.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,12 @@
app:primaryText="@string/leaveFeedback"
app:leadingIcon="@drawable/ic_heart_gray_color_24" />

<com.duckduckgo.common.ui.view.listitem.OneLineListItem
android:id="@+id/ddgOnOtherPlatformsSetting"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:leadingIcon="@drawable/ic_downloads_color_24"
app:primaryText="@string/settingsDDGOnOtherPlatforms"
app:trailingIcon="@drawable/ic_open_in_24" />

</LinearLayout>
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@
<string name="settingsAddWidget" tools:ignore="MissingTranslation">Add Widget to HomeScreen</string>
<string name="settingsAddressBarPosition" tools:ignore="MissingTranslation">Set Your Address Bar Position</string>
<string name="settingsEnableVoiceSearch" tools:ignore="MissingTranslation">Enable Voice Search</string>
<string name="settingsDDGOnOtherPlatforms" tools:ignore="MissingTranslation">DuckDuckGo on Other Platforms</string>

<!-- Private Search -->
<string name="privateSearchActivityTitle">Private Search</string>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
~ Copyright (c) 2023 DuckDuckGo
~ Copyright (c) 2024 DuckDuckGo
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 8c04d41

Please sign in to comment.