mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-04-05 17:39:39 -04:00
Use HasFlag
This commit is contained in:
parent
ffd218a341
commit
3e202d6ac7
@ -78,7 +78,7 @@ namespace Observatory
|
||||
|
||||
public bool IsMonitoring()
|
||||
{
|
||||
return (currentState & LogMonitorState.Realtime) == LogMonitorState.Realtime;
|
||||
return currentState.HasFlag(LogMonitorState.Realtime);
|
||||
}
|
||||
|
||||
// TODO(fredjk_gh): Remove?
|
||||
|
Loading…
x
Reference in New Issue
Block a user