mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-03 11:21:41 +02:00
"refresh" menu item stays visible for reconnection
This commit is contained in:
parent
a7aa312f9d
commit
4dfdb3498e
1 changed files with 4 additions and 4 deletions
|
@ -552,15 +552,15 @@ public class MainActivity extends AppCompatActivity implements ClientItem.Client
|
|||
miSettings.setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER);
|
||||
if (miStartStop != null)
|
||||
miStartStop.setVisible(true);
|
||||
if (miRefresh != null)
|
||||
miRefresh.setVisible(true);
|
||||
// if (miRefresh != null)
|
||||
// miRefresh.setVisible(true);
|
||||
} else {
|
||||
if (miSettings != null)
|
||||
miSettings.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);
|
||||
if (miStartStop != null)
|
||||
miStartStop.setVisible(false);
|
||||
if (miRefresh != null)
|
||||
miRefresh.setVisible(false);
|
||||
// if (miRefresh != null)
|
||||
// miRefresh.setVisible(false);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue