1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-22 00:27:48 +01: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:
fparri 2020-02-28 10:35:12 +01:00
parent ddd70f93fc
commit fdc57aed67

View File

@ -291,8 +291,7 @@ public class GBDeviceAdapterv2 extends RecyclerView.Adapter<GBDeviceAdapterv2.Vi
return;
}
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(context.getResources().getString(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(R.string.find_lost_device_you_found_it, new View.OnClickListener()) {
@Override
public void onClick(View v) {
GBApplication.deviceService().onFindDevice(false);