notify _type

This commit is contained in:
MrNewb committed 2025-06-12 07:47:22 -04:00
1 parent 50f822bf20
commit 5b0e7074fe
4 files changed
+6 -3

No files matched your search

+2 -1
View File
@@ -15,7 +15,8 @@ end
---@return nil
Notify.SendNotify = function(message, _type, time)
time = time or 3000
return exports['t-notify']:Alert({ style = 'info', message = message, duration = time, })
_type = _type or "info"
return exports['t-notify']:Alert({ style = _type, message = message, duration = time, })
end
return Notify