Commit 20e488b
RS Posts: Deduplicate status-to-label mapping
Reuse the shared toLabel() extension in formatStatusLabel() instead
of duplicating the PostStatus-to-string-resource mapping.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 03cd59d commit 20e488b
File tree
2 files changed
+6
-15
lines changed- WordPress/src/main/java/org/wordpress/android/ui/postsrs
2 files changed
+6
-15
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| |||
Lines changed: 5 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
370 | 362 | | |
371 | | - | |
372 | 363 | | |
373 | 364 | | |
374 | 365 | | |
| |||
0 commit comments