Commit 6c439ee
committed
8355 Hide IPP image and progress views in landscape
In the past, we hid the image when the IPP payment flow was used in landscape.
With the addition of the progress view in #8079 c: 83f1d4c we added another place where the image view could be shown or hidden (as the progress view replaces the image.)
That introduced a bug where images would be shown in landscape, breaking the rest of the IPP layout.
This commit moves all the `isHidden` changes to the `resetHeightAndWidth`, which is responsible for whether and which view should be shown.1 parent a50ecf5 commit 6c439ee
File tree
1 file changed
+20
-9
lines changed- WooCommerce/Classes/ViewRelated/CardPresentPayments
1 file changed
+20
-9
lines changedLines changed: 20 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
81 | | - | |
| 80 | + | |
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
85 | 84 | | |
86 | 85 | | |
| 86 | + | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
91 | 107 | | |
92 | 108 | | |
93 | 109 | | |
| |||
202 | 218 | | |
203 | 219 | | |
204 | 220 | | |
205 | | - | |
206 | | - | |
207 | 221 | | |
208 | 222 | | |
209 | 223 | | |
| |||
214 | 228 | | |
215 | 229 | | |
216 | 230 | | |
| 231 | + | |
| 232 | + | |
217 | 233 | | |
218 | 234 | | |
219 | 235 | | |
| |||
248 | 264 | | |
249 | 265 | | |
250 | 266 | | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | 267 | | |
257 | 268 | | |
258 | 269 | | |
| |||
0 commit comments