mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 10:39:57 +00:00
Fix stop button not being enabled in certain contexts
This commit is contained in:
@@ -294,7 +294,9 @@ class ReceiverEntry extends Component<ReceiverEntryProps, ReceiverEntryState> {
|
|||||||
</div>
|
</div>
|
||||||
<button className="receiver__connect"
|
<button className="receiver__connect"
|
||||||
onClick={ this.handleCast }
|
onClick={ this.handleCast }
|
||||||
disabled={this.props.isLoading || !this.props.canCast}>
|
disabled={ this.state.showAlternateAction
|
||||||
|
? application.isIdleScreen
|
||||||
|
: (this.props.isLoading || !this.props.canCast) }>
|
||||||
{ this.state.isLoading
|
{ this.state.isLoading
|
||||||
? _("popupCastingButtonTitle"
|
? _("popupCastingButtonTitle"
|
||||||
, (this.state.isLoading
|
, (this.state.isLoading
|
||||||
|
|||||||
Reference in New Issue
Block a user