Use HasFlag
This commit is contained in:
parent
ffd218a341
commit
3e202d6ac7
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ namespace Observatory
|
||||||
|
|
||||||
public bool IsMonitoring()
|
public bool IsMonitoring()
|
||||||
{
|
{
|
||||||
return (currentState & LogMonitorState.Realtime) == LogMonitorState.Realtime;
|
return currentState.HasFlag(LogMonitorState.Realtime);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(fredjk_gh): Remove?
|
// TODO(fredjk_gh): Remove?
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue