mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
fix message
This commit is contained in:
parent
af75dc8e2e
commit
27875feb04
@ -278,7 +278,7 @@ pub fn migrate(tx: &Transaction) -> Result<(), String> {
|
|||||||
fn page_position_from_action_state(action: &SimpleAction) -> Option<i32> {
|
fn page_position_from_action_state(action: &SimpleAction) -> Option<i32> {
|
||||||
let page_position = action
|
let page_position = action
|
||||||
.state()
|
.state()
|
||||||
.expect("Page position required for reload action")
|
.expect("Page position required for this action")
|
||||||
.get::<i32>()
|
.get::<i32>()
|
||||||
.expect("Parameter does not match `i32`");
|
.expect("Parameter does not match `i32`");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user