Skip to content

Commit

Permalink
Update SJFloatSmallViewTransitionController.m
Browse files Browse the repository at this point in the history
  • Loading branch information
changsanjiang committed Jan 14, 2022
1 parent d9257d5 commit 57aff45
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ - (void)_handlePanGesture:(UIPanGestureRecognizer *)panGesture {
#pragma mark -

- (BOOL)enterFloatingMode {
if ( !_enabled )
return NO;
if ( !_enabled ) return NO;
if ( _isAppeared ) return YES;

// 1 获取当前的vc
// 2 转换到window中的位置
Expand Down Expand Up @@ -341,8 +341,8 @@ - (BOOL)enterFloatingMode {
}

- (BOOL)resumeMode {
if ( !_enabled )
return NO;
if ( !_enabled ) return NO;
if ( !_isAppeared ) return YES;

// 1. push`playbackController`
// 2. 将播放器添加回去
Expand Down

0 comments on commit 57aff45

Please sign in to comment.