1
0
Fork 0

Format code.

This commit is contained in:
namedkitten 2020-07-23 14:53:40 +01:00
parent 913cbd87f0
commit 6ab7a9c88e

View file

@ -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,