From 53ad86fe9abfdf2b8f2328a331b9901783e1471a Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Fri, 3 Jun 2016 01:35:15 +0200 Subject: [PATCH] Do not show red messages to everybody (we will release Android before KDE) --- .../kdeconnect/UserInterface/List/PairingDeviceItem.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/org/kde/kdeconnect/UserInterface/List/PairingDeviceItem.java b/src/org/kde/kdeconnect/UserInterface/List/PairingDeviceItem.java index c6e126e5..01108cb4 100644 --- a/src/org/kde/kdeconnect/UserInterface/List/PairingDeviceItem.java +++ b/src/org/kde/kdeconnect/UserInterface/List/PairingDeviceItem.java @@ -60,11 +60,16 @@ public class PairingDeviceItem implements ListAdapter.Item { if (device.compareProtocolVersion() != 0) { TextView summaryView = (TextView)v.findViewById(R.id.list_item_entry_summary); - summaryView.setVisibility(View.VISIBLE); + if (device.compareProtocolVersion() > 0) { summaryView.setText(R.string.protocol_version_newer); + summaryView.setVisibility(View.VISIBLE); } else { + summaryView.setVisibility(View.GONE); + /* summaryView.setText(R.string.protocol_version_older); + summaryView.setVisibility(View.VISIBLE); + */ } } else { v.findViewById(R.id.list_item_entry_summary).setVisibility(View.GONE);