mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
remove extra reload action
This commit is contained in:
parent
17985d9a7b
commit
85735d33e2
@ -199,7 +199,7 @@ impl Tab {
|
|||||||
/// Reload page at `i32` position or selected page on `None` given
|
/// Reload page at `i32` position or selected page on `None` given
|
||||||
pub fn page_reload(&self, page_position: Option<i32>) {
|
pub fn page_reload(&self, page_position: Option<i32>) {
|
||||||
if let Some(item) = self.item(page_position) {
|
if let Some(item) = self.item(page_position) {
|
||||||
item.page.reload();
|
item.page.load(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -144,12 +144,6 @@ impl Page {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Used as API for external reload actions
|
|
||||||
/// * this method record history to memory buffer by default
|
|
||||||
pub fn reload(&self) {
|
|
||||||
self.load(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Main loader for different protocols, that routed by scheme
|
/// Main loader for different protocols, that routed by scheme
|
||||||
/// * every protocol has it own (children) method implementation
|
/// * every protocol has it own (children) method implementation
|
||||||
pub fn load(&self, is_history: bool) {
|
pub fn load(&self, is_history: bool) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user