Fixed crash in auth_activity

This commit is contained in:
ChristianVisintin
2020-12-16 16:51:21 +01:00
parent 562a1b3ae8
commit 344bf8604f

View File

@@ -326,11 +326,11 @@ impl AuthActivity {
.unwrap() .unwrap()
.iter_recents() .iter_recents()
.map(|key: &String| { .map(|key: &String| {
let entry: (String, u16, FileTransferProtocol, String, _) = self let entry: (String, u16, FileTransferProtocol, String) = self
.bookmarks_client .bookmarks_client
.as_ref() .as_ref()
.unwrap() .unwrap()
.get_bookmark(key) .get_recent(key)
.unwrap(); .unwrap();
ListItem::new(Span::from(format!( ListItem::new(Span::from(format!(
"{}://{}@{}:{}", "{}://{}@{}:{}",