feat: browse the highlighted transfer's user with b
In the Downloads / Uploads pane, b now opens the share of whoever owns the selected download or upload, the way it already browses the owner of a highlighted result. With no row selected it still prompts.
This commit is contained in:
@@ -151,6 +151,10 @@ impl MainTui {
|
||||
&& let Some(owner) = self.highlighted_result_owner()
|
||||
{
|
||||
self.start_browse(owner);
|
||||
} else if self.state.focused_pane == FocusedPane::Downloads
|
||||
&& let Some(user) = self.selected_transfer_user()
|
||||
{
|
||||
self.start_browse(user);
|
||||
} else {
|
||||
self.state.command_bar_active = true;
|
||||
self.state.command_bar_mode = CommandBarMode::Browse;
|
||||
|
||||
Reference in New Issue
Block a user