File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,13 @@ export class Progress extends ProgressBase {
2222 this . nativeViewProtected . setProgressBackgroundTintList ( color ? android . content . res . ColorStateList . valueOf ( color . android ) : null ) ;
2323 }
2424 [ indeterminateProperty . setNative ] ( value : boolean ) {
25- this . nativeViewProtected . setIndeterminate ( value ) ;
25+ if ( this . nativeViewProtected . getVisibility ( ) === android . view . View . VISIBLE ) {
26+ this . nativeViewProtected . setVisibility ( android . view . View . GONE ) ;
27+ this . nativeViewProtected . setIndeterminate ( value ) ;
28+ this . nativeViewProtected . setVisibility ( android . view . View . VISIBLE ) ;
29+ } else {
30+ this . nativeViewProtected . setIndeterminate ( value ) ;
31+ }
2632 }
2733 [ busyProperty . getDefault ] ( ) {
2834 return false ;
You can’t perform that action at this time.
0 commit comments