mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
refactor: text type option test
This commit is contained in:
@ -210,7 +210,7 @@ impl ViewController {
|
||||
let index = views
|
||||
.iter()
|
||||
.position(|view| view.id == view_id)
|
||||
.and_then(|index| Some(index as i32));
|
||||
.map(|index| index as i32);
|
||||
Ok(DeletedViewPB {
|
||||
view_id: view_id.clone(),
|
||||
index,
|
||||
|
Reference in New Issue
Block a user