mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-01 06:35:09 +00:00
Fixed crash
This commit is contained in:
@@ -158,7 +158,8 @@ public class PairingFragment extends Fragment implements PairingDeviceItem.Callb
|
|||||||
|
|
||||||
//Restore scroll
|
//Restore scroll
|
||||||
list.setSelectionFromTop(index, top);
|
list.setSelectionFromTop(index, top);
|
||||||
|
} catch (IllegalStateException e) {
|
||||||
|
//Ignore: The activity was closed while we were trying to update it
|
||||||
} finally {
|
} finally {
|
||||||
listRefreshCalledThisFrame = false;
|
listRefreshCalledThisFrame = false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user