Skip to content

Commit 02f4719

Browse files
committed
Crash: Unknown Source - com.duckduckgo.app.browser.defaultbrowsing.prompts.store.DefaultBrowserPromptsDataStore$Stage.valueOf (#6642)
Task/Issue URL: https://app.asana.com/1/137249556945/project/1200905986587319/task/1211115648433751?focus=true ### Description Rename DataStore for default browser prompts. ### Steps to test this PR 1/ Simulate a used in CONVERTED stage - [x] Checkout develop. - [x] Apply the patch attached to the task. - [x] Install from this branch with the patch. - [x] Skip onboarding - this will put you in the CONVERTED state. - [x] Close the app. - [x] Discard the patch changes, checkout develop and install from it. - [x] Open the app. - [x] Notice it crashes immediately. 2/ Test the fix - [x] Checkout from this branch. - [x] Install the app over the previous one (update). - [x] Open the app. - [x] Notice it doesn't crash. ### NO UI changes
1 parent 59f0c68 commit 02f4719

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/duckduckgo/app/browser/defaultbrowsing/prompts/di/DefaultBrowserPromptsModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import javax.inject.Qualifier
3232
object DefaultBrowserPromptsModule {
3333

3434
private val Context.defaultBrowserPromptsDataStore: DataStore<Preferences> by preferencesDataStore(
35-
name = "default_browser_prompts",
35+
name = "default_browser_prompts_datastore",
3636
)
3737

3838
@Provides

0 commit comments

Comments
 (0)