Format code.
This commit is contained in:
parent
913cbd87f0
commit
6ab7a9c88e
|
@ -40,11 +40,10 @@ fn networkStatusToColour(s: NetworkStatus) []const u8 {
|
|||
return switch (s) {
|
||||
.Connected => "green",
|
||||
.Disconnected => "red",
|
||||
else => "darkest"
|
||||
else => "darkest",
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
pub const NetworkInfo = struct {
|
||||
network_type: NetworkType = .WiFi,
|
||||
network_status: NetworkStatus = .Connected,
|
||||
|
|
Loading…
Reference in a new issue