Michael-128 / qBitControl

qBittorrent remote client for iOS devices.
https://x.com/qbitcontrol
GNU General Public License v3.0
196 stars 9 forks source link

[BUG] Task details view remains open after swapping server #3

Closed aptkingston closed 10 months ago

aptkingston commented 10 months ago

Firstly thank you for implementing support for multiple servers - it works perfectly!

Describe the bug The task details view remains open after swapping to another server. It should reset to the task list view, because the task details view shows details about a task which does not exist in the new server.

To Reproduce Steps to reproduce the behavior:

  1. Go to Tasks tab
  2. Click on any task to open the details view
  3. Swap to Servers tab
  4. Change server to something else
  5. Go back to Tasks tab
  6. The task details view is still open, showing a task from the previous server

Expected behavior I would expect the task details view to unmount when changing servers, so it defaults back to the task list view when going to the Tasks tab.

Smartphone