- tweak: Rework loading status

This commit is contained in:
2025-06-22 10:40:42 +03:00
parent 875dacaa18
commit 37ca8fecf3
15 changed files with 251 additions and 70 deletions

View File

@@ -125,12 +125,6 @@ public static class ConfigControlHelper{
public static object? CreateDefaultValue(Type type)
{
if (type == typeof(string))
return string.Empty;
if (type == typeof(int))
return 0;
if (type == typeof(float))
return 0f;
if(type.IsValueType)
return Activator.CreateInstance(type);