mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-07-01 08:23:42 -04:00
Use HasFlag
This commit is contained in:
@ -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?
|
||||||
|
Reference in New Issue
Block a user