chore: Remove unused method
This commit is contained in:
parent
c3524d3546
commit
dc3dbfdba0
2 changed files with 0 additions and 8 deletions
|
|
@ -657,13 +657,6 @@ impl TabMessage for Message {
|
||||||
Message::Activate(idx)
|
Message::Activate(idx)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn is_activate(&self) -> Option<usize> {
|
|
||||||
match self {
|
|
||||||
Message::Activate(idx) => Some(*idx),
|
|
||||||
_ => None,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fn scroll_back() -> Self {
|
fn scroll_back() -> Self {
|
||||||
Message::ScrollBack
|
Message::ScrollBack
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -132,7 +132,6 @@ impl From<TabBackgroundTheme> for theme::Container {
|
||||||
|
|
||||||
pub trait TabMessage: Clone {
|
pub trait TabMessage: Clone {
|
||||||
fn activate(idx: usize) -> Self;
|
fn activate(idx: usize) -> Self;
|
||||||
fn is_activate(&self) -> Option<usize>;
|
|
||||||
|
|
||||||
fn scroll_further() -> Self;
|
fn scroll_further() -> Self;
|
||||||
fn scroll_back() -> Self;
|
fn scroll_back() -> Self;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue