mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-27 16:56:57 +02:00
Fix main fab behavior
This commit is contained in:
parent
e3a5a63e08
commit
ac66885848
@ -333,7 +333,7 @@ public class ControlCenterv2 extends AppCompatActivity
|
||||
if (GBApplication.getPrefs().getBoolean("display_add_device_fab", true)) {
|
||||
fab.show();
|
||||
} else {
|
||||
if (deviceListView.getChildCount() < 1) {
|
||||
if (deviceManager.getDevices().size() < 1) {
|
||||
fab.show();
|
||||
} else {
|
||||
fab.hide();
|
||||
|
Loading…
Reference in New Issue
Block a user