2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 05:37:43 +00:00

Add missing setEnabled(true)

The second time we entered the screen pull-to-refresh wasn't working

Reviewed-by: Aleix Pol
This commit is contained in:
Albert Vaca Cintora 2019-10-25 20:18:46 +02:00
parent dd5fb954bc
commit d16293cca5

View File

@ -254,6 +254,7 @@ public class PairingFragment extends Fragment implements PairingDeviceItem.Callb
@Override
public void onStart() {
super.onStart();
mSwipeRefreshLayout.setEnabled(true);
BackgroundService.RunCommand(mActivity, service -> service.addDeviceListChangedCallback("PairingFragment", this::updateDeviceList));
updateDeviceList();
}