mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:07:34 +00:00
NetworkApplet: Omit unnecessary newline in tooltip
This commit is contained in:
parent
02c0b1f380
commit
7bfd319652
1 changed files with 4 additions and 1 deletions
|
@ -131,7 +131,10 @@ private:
|
||||||
if (ip_address != "null")
|
if (ip_address != "null")
|
||||||
connected_adapters++;
|
connected_adapters++;
|
||||||
|
|
||||||
adapter_info.appendff("{}: {}\n", ifname, ip_address);
|
if (!adapter_info.is_empty())
|
||||||
|
adapter_info.append('\n');
|
||||||
|
|
||||||
|
adapter_info.appendff("{}: {}", ifname, ip_address);
|
||||||
});
|
});
|
||||||
|
|
||||||
// show connected icon so long as at least one adapter is connected
|
// show connected icon so long as at least one adapter is connected
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue