refactor: move mini mode name and remove unused mode description field

This commit is contained in:
CJ van den Berg 2024-10-26 16:33:59 +02:00
parent 0ef553e4c6
commit f67bfab5b7
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
18 changed files with 21 additions and 29 deletions

View file

@ -50,10 +50,10 @@ pub fn Create(options: type) type {
return .{
.{
.handler = EventHandler.to_owned(self),
.name = options.name(self),
.description = options.name(self),
},
.{},
.{
.name = options.name(self),
},
};
}