Handle nil values in toString

This commit is contained in:
Stu Leak 2025-12-23 21:25:41 -05:00
parent a3d9f868c1
commit 627cb541a1

View File

@ -1155,6 +1155,9 @@ func (s *appState) stopPreview() {
}
func toString(v interface{}) string {
if v == nil {
return ""
}
switch t := v.(type) {
case string:
return t