fix: reworking some code smell issues
This commit is contained in:
@@ -300,5 +300,5 @@ defmodule BDS.Desktop.ShellLive.PanelRenderer do
|
||||
"#{rounded}%"
|
||||
end
|
||||
|
||||
defp present?(value), do: value not in [nil, ""]
|
||||
defp present?(value), do: BDS.Values.present?(value)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user