mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
Aggiornare 'app/src/main/java/nodomain/freeyourgadget/gadgetbridge/adapter/GBDeviceAdapterv2.java'
Removed a comment not needed anymore and added a missing bracket
This commit is contained in:
@@ -291,8 +291,7 @@ public class GBDeviceAdapterv2 extends RecyclerView.Adapter<GBDeviceAdapterv2.Vi
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
GBApplication.deviceService().onFindDevice(true);
|
GBApplication.deviceService().onFindDevice(true);
|
||||||
//TODO: extract string resource if we like this solution.
|
Snackbar.make(parent, R.string.control_center_find_lost_device, Snackbar.LENGTH_INDEFINITE).setAction(R.string.find_lost_device_you_found_it, new View.OnClickListener()) {
|
||||||
Snackbar.make(parent, R.string.control_center_find_lost_device, Snackbar.LENGTH_INDEFINITE).setAction(context.getResources().getString(R.string.find_lost_device_you_found_it), new View.OnClickListener() {
|
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
GBApplication.deviceService().onFindDevice(false);
|
GBApplication.deviceService().onFindDevice(false);
|
||||||
|
Reference in New Issue
Block a user