mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Fixed bookmarks not being loaded properly
This commit is contained in:
@@ -168,14 +168,17 @@ impl Activity for AuthActivity {
|
|||||||
if let Err(err) = enable_raw_mode() {
|
if let Err(err) = enable_raw_mode() {
|
||||||
error!("Failed to enter raw mode: {}", err);
|
error!("Failed to enter raw mode: {}", err);
|
||||||
}
|
}
|
||||||
|
// If check for updates is enabled, check for updates
|
||||||
|
self.check_for_updates();
|
||||||
// Initialize view
|
// Initialize view
|
||||||
self.init();
|
self.init();
|
||||||
// Init bookmarks client
|
// Init bookmarks client
|
||||||
if self.bookmarks_client.is_none() {
|
if self.bookmarks_client.is_none() {
|
||||||
self.init_bookmarks_client();
|
self.init_bookmarks_client();
|
||||||
|
// View bookarmsk
|
||||||
|
self.view_bookmarks();
|
||||||
|
self.view_recent_connections();
|
||||||
}
|
}
|
||||||
// If check for updates is enabled, check for updates
|
|
||||||
self.check_for_updates();
|
|
||||||
// Verify error state from context
|
// Verify error state from context
|
||||||
if let Some(err) = self.context.as_mut().unwrap().get_error() {
|
if let Some(err) = self.context.as_mut().unwrap().get_error() {
|
||||||
self.mount_error(err.as_str());
|
self.mount_error(err.as_str());
|
||||||
|
|||||||
Reference in New Issue
Block a user