Commit 71d707e
committed
fix(details): manage download job lifecycle and fix Korean locale resources
This commit fixes a potential race condition in the download process by ensuring previous download jobs are cancelled before starting a new one. It also corrects the ISO language code for Korean resource files.
- **fix(details)**: Added job cancellation and cleanup logic to `InstallWithExternalApp` action in `DetailsViewModel`.
- **fix(details)**: Reset `currentAssetName` after successful installation prompt.
- **fix(i18n)**: Renamed Korean resource directory and file from `values-kr/strings-kr.xml` to `values-ko/strings-ko.xml` to follow standard ISO 639-1 language codes.1 parent 5a00191 commit 71d707e
File tree
2 files changed
+6
-1
lines changed- core/presentation/src/commonMain/composeResources/values-ko
- feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation
2 files changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
778 | 778 | | |
779 | 779 | | |
780 | 780 | | |
781 | | - | |
| 781 | + | |
| 782 | + | |
782 | 783 | | |
783 | 784 | | |
784 | 785 | | |
| |||
849 | 850 | | |
850 | 851 | | |
851 | 852 | | |
| 853 | + | |
| 854 | + | |
852 | 855 | | |
853 | 856 | | |
| 857 | + | |
854 | 858 | | |
855 | 859 | | |
856 | 860 | | |
| |||
956 | 960 | | |
957 | 961 | | |
958 | 962 | | |
| 963 | + | |
959 | 964 | | |
960 | 965 | | |
961 | 966 | | |
| |||
0 commit comments