Commit 81d4bbe
committed
feat(details): prevent deletion of downloaded assets on desktop after installation
- Clear `cachedDownloadAssetName` on non-Android platforms when a file is installed or handed off to the system.
- Prevents the `onCleared()` lifecycle method from deleting the downloaded asset once it has been saved to the user's downloads or installed.1 parent 10f49f8 commit 81d4bbe
1 file changed
Lines changed: 1 addition & 0 deletions
File tree
- feature/details/presentation/src/commonMain/kotlin/zed/rainxch/details/presentation
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1073 | 1073 | | |
1074 | 1074 | | |
1075 | 1075 | | |
| 1076 | + | |
1076 | 1077 | | |
1077 | 1078 | | |
1078 | 1079 | | |
| |||
0 commit comments