feat(net): All tokens for all labels
If you have `accumulate-stats = true` it is useful to be able to display the current network speed even if the interface is disconnected.
This commit is contained in:
parent
014606294c
commit
01be9b3504
@ -136,6 +136,9 @@ namespace modules {
|
||||
if (m_label[connection_state::PACKETLOSS]) {
|
||||
replace_tokens(m_label[connection_state::PACKETLOSS]);
|
||||
}
|
||||
if (m_label[connection_state::DISCONNECTED]) {
|
||||
replace_tokens(m_label[connection_state::DISCONNECTED]);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user