2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-29 21:27:40 +00:00

Do not show red messages to everybody (we will release Android before KDE)

This commit is contained in:
Albert Vaca 2016-06-03 01:35:15 +02:00
parent 39107400d4
commit 53ad86fe9a

View File

@ -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);