mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Typo in windows version
This commit is contained in:
@@ -520,7 +520,7 @@ impl FileTransferActivity {
|
||||
None => String::from("0"),
|
||||
};
|
||||
#[cfg(target_os = "windows")]
|
||||
let username: format!("{}", dir.user.unwrap_or(0));
|
||||
let username: String = format!("{}", dir.user.unwrap_or(0));
|
||||
info.push(ListItem::new(Spans::from(vec![
|
||||
Span::styled("User: ", Style::default()),
|
||||
Span::styled(
|
||||
@@ -617,7 +617,7 @@ impl FileTransferActivity {
|
||||
None => String::from("0"),
|
||||
};
|
||||
#[cfg(target_os = "windows")]
|
||||
let username: format!("{}", file.user.unwrap_or(0));
|
||||
let username: String = format!("{}", file.user.unwrap_or(0));
|
||||
info.push(ListItem::new(Spans::from(vec![
|
||||
Span::styled("User: ", Style::default()),
|
||||
Span::styled(
|
||||
|
||||
Reference in New Issue
Block a user