Commit 7b8bd14
RS Post Settings: Use site null check instead of apiClient
Check `site == null` instead of `apiClient == null` to avoid
triggering unnecessary lazy evaluation and to match the original
guard pattern the code previously used.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 22cf260 commit 7b8bd14
File tree
1 file changed
+3
-4
lines changed- WordPress/src/main/java/org/wordpress/android/ui/postsrs
1 file changed
+3
-4
lines changedLines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
56 | | - | |
| 55 | + | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
89 | 88 | | |
90 | 89 | | |
91 | 90 | | |
92 | | - | |
| 91 | + | |
93 | 92 | | |
94 | 93 | | |
95 | 94 | | |
| |||
673 | 672 | | |
674 | 673 | | |
675 | 674 | | |
676 | | - | |
| 675 | + | |
677 | 676 | | |
678 | 677 | | |
679 | 678 | | |
| |||
0 commit comments