qol
This commit is contained in:
parent
bbee1ca79d
commit
1b025f46e5
2 changed files with 2 additions and 2 deletions
|
|
@ -28,8 +28,8 @@ pub struct Days {
|
||||||
|
|
||||||
#[derive(Default)]
|
#[derive(Default)]
|
||||||
enum DaysState {
|
enum DaysState {
|
||||||
#[default]
|
|
||||||
Main,
|
Main,
|
||||||
|
#[default]
|
||||||
DaySelect,
|
DaySelect,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ impl Focused for DayDetails {
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
|
|
||||||
KeyCode::Delete => {
|
KeyCode::Delete | KeyCode::Char('d') => {
|
||||||
self.state = State::DeletionConfirm(false);
|
self.state = State::DeletionConfirm(false);
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue