fix: use strconv.ParseBool

Ayman Bagabas and Andrey Nering created

Co-authored-by: Andrey Nering <andreynering@users.noreply.github.com>

Change summary

internal/cmd/root.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

internal/cmd/root.go 🔗

@@ -90,7 +90,7 @@ crush -y
 		var env uv.Environ = os.Environ()
 
 		var model tea.Model
-		if _, ok := env.LookupEnv("CRUSH_NEW_UI"); ok {
+		if v, _ := strconv.ParseBool(env.Getenv("CRUSH_NEW_UI")); v {
 			slog.Info("New UI in control!")
 			com := common.DefaultCommon(app)
 			ui := ui.New(com)