Skip to content

Commit

Permalink
fix(ios): expose Ti.Media.AudioPlayer.externalPlaybackActive as boole…
Browse files Browse the repository at this point in the history
…an properly
  • Loading branch information
sgtcoolguy committed Feb 5, 2021
1 parent e530fb6 commit 2712dc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion iphone/Classes/TiMediaAudioPlayerProxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

- (NSNumber *)muted;

- (void)externalPlaybackActive;
- (NSNumber *)externalPlaybackActive;

- (NSNumber *)bufferSize;

Expand Down
2 changes: 1 addition & 1 deletion iphone/Classes/TiMediaAudioPlayerProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ - (NSNumber *)muted
return NUMBOOL([[self player] isMuted]);
}

- (void)externalPlaybackActive
- (NSNumber *)externalPlaybackActive
{
return NUMBOOL([[self player] isExternalPlaybackActive]);
}
Expand Down

0 comments on commit 2712dc6

Please sign in to comment.