Commit Graph

2 Commits (319bc3914b457486e7123207f8eb893ac235d6d2)

Author SHA1 Message Date
Nefo Fortressia 8e31be7e47
refactor: don't unwrap tab label' childs and use match when prepending it
If statements are for booleans, matches are intended for Options like these.

See: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap
2021-12-18 17:21:50 +07:00
Nefo Fortressia 18ac470c47
refactor: make tab label their own widget
This helps with downcasting which greatly helps with type safety.
2021-11-15 07:14:59 +07:00