mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Fixed crash in auth_activity
This commit is contained in:
@@ -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!(
|
||||||
"{}://{}@{}:{}",
|
"{}://{}@{}:{}",
|
||||||
|
|||||||
Reference in New Issue
Block a user