Commit cda1b00
committed
Refactor QueryText clearing logic in MainViewModel
Simplified the process of clearing the `QueryText` property by
replacing manual updates to the `_queryText` private field and
`QueryTextBox` control with the use of the `QueryText` property
setter. This change avoids triggering duplicate query calls
while maintaining the intended behavior. Updated comments to
reflect the new approach.1 parent d774342 commit cda1b00
1 file changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
884 | 884 | | |
885 | 885 | | |
886 | 886 | | |
887 | | - | |
888 | | - | |
889 | | - | |
890 | | - | |
891 | | - | |
892 | | - | |
893 | | - | |
| 887 | + | |
| 888 | + | |
894 | 889 | | |
895 | 890 | | |
896 | 891 | | |
| |||
0 commit comments