Commit 1e8eedd
committed
fix: deduplicate cloud media in search and location flows + cleanup MediaViewScreen
- Add deduplicateCloudLocal() to remove cloud duplicates when a local counterpart
with matching cloudGroupKey exists in search results and location data
- Remove unused Configuration/LocalConfiguration imports and simplify landscape
padding logic in MediaViewScreen1 parent 38e2269 commit 1e8eedd
2 files changed
Lines changed: 22 additions & 16 deletions
File tree
- app/src/main/kotlin/com/dot/gallery
- core
- feature_node/presentation/mediaview
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1026 | 1026 | | |
1027 | 1027 | | |
1028 | 1028 | | |
1029 | | - | |
| 1029 | + | |
1030 | 1030 | | |
1031 | 1031 | | |
1032 | 1032 | | |
| |||
1041 | 1041 | | |
1042 | 1042 | | |
1043 | 1043 | | |
1044 | | - | |
1045 | | - | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
1046 | 1047 | | |
1047 | 1048 | | |
1048 | 1049 | | |
| |||
1262 | 1263 | | |
1263 | 1264 | | |
1264 | 1265 | | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
1265 | 1280 | | |
Lines changed: 4 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
72 | | - | |
73 | 71 | | |
74 | 72 | | |
75 | 73 | | |
| |||
424 | 422 | | |
425 | 423 | | |
426 | 424 | | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | 425 | | |
432 | 426 | | |
433 | | - | |
| 427 | + | |
434 | 428 | | |
435 | | - | |
| 429 | + | |
436 | 430 | | |
437 | 431 | | |
438 | 432 | | |
439 | 433 | | |
440 | 434 | | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
| 435 | + | |
| 436 | + | |
446 | 437 | | |
447 | 438 | | |
448 | 439 | | |
| |||
0 commit comments