File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ export abstract class CollectionViewBase extends View implements CollectionViewD
192192 this . _innerWidth = width - this . effectivePaddingLeft - this . effectivePaddingRight ;
193193 if ( this . colWidth ) {
194194 let newValue = toDevicePixels ( this . colWidth , autoEffectiveColWidth , this . _innerWidth ) ; // We cannot use 0 for auto as it throws for android.
195- if ( global . isAndroid ) {
195+ if ( __ANDROID__ ) {
196196 newValue = Math . floor ( newValue ) ;
197197 }
198198 if ( newValue !== this . _effectiveColWidth ) {
@@ -203,7 +203,7 @@ export abstract class CollectionViewBase extends View implements CollectionViewD
203203 this . _innerHeight = height - this . effectivePaddingTop - this . effectivePaddingBottom ;
204204 if ( this . rowHeight ) {
205205 let newValue = toDevicePixels ( this . rowHeight , autoEffectiveRowHeight , this . _innerHeight ) ;
206- if ( global . isAndroid ) {
206+ if ( __ANDROID__ ) {
207207 newValue = Math . floor ( newValue ) ;
208208 }
209209 if ( newValue !== this . _effectiveRowHeight ) {
You can’t perform that action at this time.
0 commit comments