Commit e9d8f7c
committed
Stop ChatHistory fire dialog from restarting the app process
onDeleteAllClicked routed ChatHistory clears to clearSelectedDuckAiChats but left
shouldRestartAfterClearing at its default true, so after a bounded chat-subset
clear the dialog still called killAndRestartProcess(). Set the flag to false on
that branch, mirroring onDeleteThisTabClicked.1 parent 05f079c commit e9d8f7c
2 files changed
Lines changed: 16 additions & 0 deletions
File tree
- app/src
- main/java/com/duckduckgo/app/global/view
- test/java/com/duckduckgo/app/global/view
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
| |||
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1040 | 1040 | | |
1041 | 1041 | | |
1042 | 1042 | | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
1043 | 1058 | | |
1044 | 1059 | | |
1045 | 1060 | | |
| |||
0 commit comments