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:
parent
39107400d4
commit
53ad86fe9a
@ -60,11 +60,16 @@ public class PairingDeviceItem implements ListAdapter.Item {
|
|||||||
|
|
||||||
if (device.compareProtocolVersion() != 0) {
|
if (device.compareProtocolVersion() != 0) {
|
||||||
TextView summaryView = (TextView)v.findViewById(R.id.list_item_entry_summary);
|
TextView summaryView = (TextView)v.findViewById(R.id.list_item_entry_summary);
|
||||||
summaryView.setVisibility(View.VISIBLE);
|
|
||||||
if (device.compareProtocolVersion() > 0) {
|
if (device.compareProtocolVersion() > 0) {
|
||||||
summaryView.setText(R.string.protocol_version_newer);
|
summaryView.setText(R.string.protocol_version_newer);
|
||||||
|
summaryView.setVisibility(View.VISIBLE);
|
||||||
} else {
|
} else {
|
||||||
|
summaryView.setVisibility(View.GONE);
|
||||||
|
/*
|
||||||
summaryView.setText(R.string.protocol_version_older);
|
summaryView.setText(R.string.protocol_version_older);
|
||||||
|
summaryView.setVisibility(View.VISIBLE);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
v.findViewById(R.id.list_item_entry_summary).setVisibility(View.GONE);
|
v.findViewById(R.id.list_item_entry_summary).setVisibility(View.GONE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user