chore(lint) tame the linter
This commit is contained in:
parent
ba7b5fc996
commit
e77216f18e
|
@ -313,41 +313,41 @@ class ConnectionIndicator extends AbstractConnectionIndicator<Props, State> {
|
|||
];
|
||||
}
|
||||
|
||||
_onShowPopover: () => void;
|
||||
_onShowPopover: () => void;
|
||||
|
||||
/**
|
||||
/**
|
||||
* Shows popover.
|
||||
*
|
||||
* @private
|
||||
* @returns {void}
|
||||
*/
|
||||
_onShowPopover() {
|
||||
this.setState({ popoverVisible: true });
|
||||
}
|
||||
_onShowPopover() {
|
||||
this.setState({ popoverVisible: true });
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
/**
|
||||
* Creates a ReactElement for displaying the indicator (GSM bar).
|
||||
*
|
||||
* @returns {ReactElement}
|
||||
*/
|
||||
_renderIndicator() {
|
||||
const colorClass = this._getConnectionColorClass();
|
||||
const indicatorContainerClassNames
|
||||
_renderIndicator() {
|
||||
const colorClass = this._getConnectionColorClass();
|
||||
const indicatorContainerClassNames
|
||||
= `connection-indicator indicator ${colorClass}`;
|
||||
|
||||
return (
|
||||
<div className = 'popover-trigger'>
|
||||
<div
|
||||
className = { indicatorContainerClassNames }
|
||||
style = {{ fontSize: this.props.iconSize }}>
|
||||
<div className = 'connection indicatoricon'>
|
||||
{ this._renderIcon() }
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
return (
|
||||
<div className = 'popover-trigger'>
|
||||
<div
|
||||
className = { indicatorContainerClassNames }
|
||||
style = {{ fontSize: this.props.iconSize }}>
|
||||
<div className = 'connection indicatoricon'>
|
||||
{ this._renderIcon() }
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue