mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-01 06:35:09 +00:00
Disable animation on tap on the list header
This commit is contained in:
@@ -146,6 +146,9 @@ public class PairingFragment extends Fragment implements PairingDeviceItem.Callb
|
|||||||
listRefreshCalledThisFrame = true;
|
listRefreshCalledThisFrame = true;
|
||||||
|
|
||||||
headerText.setText(getString(NetworkHelper.isOnMobileNetwork(getContext()) ? R.string.on_data_message : R.string.pairing_description));
|
headerText.setText(getString(NetworkHelper.isOnMobileNetwork(getContext()) ? R.string.on_data_message : R.string.pairing_description));
|
||||||
|
//Disable tap animation
|
||||||
|
headerText.setOnClickListener(null);
|
||||||
|
headerText.setOnLongClickListener(null);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Collection<Device> devices = service.getDevices().values();
|
Collection<Device> devices = service.getDevices().values();
|
||||||
|
Reference in New Issue
Block a user