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

@ -39,10 +39,10 @@ pub fn create(allocator: Allocator, _: command.Context) !struct { tui.Mode, tui.
return .{
.{
.handler = EventHandler.to_owned(self),
.name = name,
.description = name,
},
.{},
.{
.name = name,
},
};
}
return error.NotFound;