1/* 2 * Copyright (c) Meta Platforms, Inc. and affiliates. 3 * 4 * This source code is licensed under the MIT license found in the 5 * LICENSE file in the root directory of this source tree. 6 */ 7 8#import "ABI49_0_0RCTActivityIndicatorView.h" 9 10@implementation ABI49_0_0RCTActivityIndicatorView { 11} 12 13- (void)setHidden:(BOOL)hidden 14{ 15 if ([self hidesWhenStopped] && ![self isAnimating]) { 16 [super setHidden:YES]; 17 } else { 18 [super setHidden:hidden]; 19 } 20} 21 22@end 23