mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-31 14:15:14 +00:00
Replace lambda with method ref
This commit is contained in:
@@ -94,7 +94,7 @@ public class DeviceSettingsFragment extends PreferenceFragmentCompat {
|
||||
final Device device = service.getDevice(deviceId);
|
||||
if (device == null) {
|
||||
final FragmentActivity activity = requireActivity();
|
||||
activity.runOnUiThread(() -> activity.finish());
|
||||
activity.runOnUiThread(activity::finish);
|
||||
return;
|
||||
}
|
||||
List<String> plugins = device.getSupportedPlugins();
|
||||
|
Reference in New Issue
Block a user