mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-26 18:45:49 +01: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)) {
|
if (GBApplication.getPrefs().getBoolean("display_add_device_fab", true)) {
|
||||||
fab.show();
|
fab.show();
|
||||||
} else {
|
} else {
|
||||||
if (deviceListView.getChildCount() < 1) {
|
if (deviceManager.getDevices().size() < 1) {
|
||||||
fab.show();
|
fab.show();
|
||||||
} else {
|
} else {
|
||||||
fab.hide();
|
fab.hide();
|
||||||
|
Loading…
Reference in New Issue
Block a user