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 {
22
22
this . nativeViewProtected . setProgressBackgroundTintList ( color ? android . content . res . ColorStateList . valueOf ( color . android ) : null ) ;
23
23
}
24
24
[ 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
+ }
26
32
}
27
33
[ busyProperty . getDefault ] ( ) {
28
34
return false ;
You can’t perform that action at this time.
0 commit comments