mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-06-30 16:23:41 -04:00
Use HasFlag
This commit is contained in:
@ -78,7 +78,7 @@ namespace Observatory
|
||||
|
||||
public bool IsMonitoring()
|
||||
{
|
||||
return (currentState & LogMonitorState.Realtime) == LogMonitorState.Realtime;
|
||||
return currentState.HasFlag(LogMonitorState.Realtime);
|
||||
}
|
||||
|
||||
// TODO(fredjk_gh): Remove?
|
||||
|
Reference in New Issue
Block a user