Remove the last of the major todos
This commit is contained in:
parent
ed263a7b5c
commit
9ce7ef8949
17 changed files with 73 additions and 267 deletions
|
@ -222,6 +222,7 @@ pub struct ThemeStyles {
|
|||
|
||||
#[refineable]
|
||||
pub status: StatusColors,
|
||||
|
||||
pub player: PlayerColors,
|
||||
pub syntax: Arc<SyntaxTheme>,
|
||||
}
|
||||
|
|
|
@ -122,12 +122,10 @@ impl PlayerColors {
|
|||
|
||||
impl PlayerColors {
|
||||
pub fn local(&self) -> PlayerColor {
|
||||
// todo!("use a valid color");
|
||||
*self.0.first().unwrap()
|
||||
}
|
||||
|
||||
pub fn absent(&self) -> PlayerColor {
|
||||
// todo!("use a valid color");
|
||||
*self.0.last().unwrap()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue