mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
Fix main fab behavior
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user