You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Task/Issue URL:
https://app.asana.com/1/137249556945/project/488551667048375/task/1210096722341711?focus=true
### Description
- If the Duck.ai menu setting was initially disabled and the user
updates, then the address bar setting is also disabled.
- However, if the the menu setting is toggled, then both settings toggle
because there is no initial stored value for the address bar setting.
- This fixes that use-case.
### Steps to test this PR
- [ ] Checkout 5.230.1
- [ ] Disable the Duck.ai menu setting
- [ ] Update to this branch
- [ ] Verify that both settings are disabled
- [ ] Toggle the menu setting
- [ ] Verify that only the menu setting is toggled
Copy file name to clipboardExpand all lines: duckchat/duckchat-impl/src/test/kotlin/com/duckduckgo/duckchat/impl/store/SharedPreferencesDuckChatDataStoreTest.kt
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,12 @@ class SharedPreferencesDuckChatDataStoreTest {
0 commit comments