mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-14 18:26:11 -04:00
Additional highlight for other peoples devices.
This commit is contained in:
+3
@@ -34,6 +34,9 @@ class BasicSingleApplePodsCardVH(parent: ViewGroup) :
|
||||
lastSeen.text = device.lastSeenFormatted(item.now)
|
||||
|
||||
reception.text = device.getSignalQuality(context)
|
||||
if (item.isMainPod) {
|
||||
reception.append("\n(${getString(R.string.pods_yours)})")
|
||||
}
|
||||
|
||||
headphones.apply {
|
||||
val sb = StringBuilder(context.getString(R.string.pods_single_headphones_label))
|
||||
|
||||
@@ -36,6 +36,9 @@ class DualApplePodsCardVH(parent: ViewGroup) :
|
||||
lastSeen.text = device.lastSeenFormatted(item.now)
|
||||
|
||||
reception.text = device.getSignalQuality(context)
|
||||
if (item.isMainPod) {
|
||||
reception.append("\n(${getString(R.string.pods_yours)})")
|
||||
}
|
||||
|
||||
podLeft.apply {
|
||||
val sb = StringBuilder(context.getString(R.string.pods_dual_left_label))
|
||||
|
||||
@@ -34,6 +34,9 @@ class SingleApplePodsCardVH(parent: ViewGroup) :
|
||||
lastSeen.text = device.lastSeenFormatted(item.now)
|
||||
|
||||
reception.text = device.getSignalQuality(context)
|
||||
if (item.isMainPod) {
|
||||
reception.append("\n(${getString(R.string.pods_yours)})")
|
||||
}
|
||||
|
||||
headphones.apply {
|
||||
val sb = StringBuilder(context.getString(R.string.pods_single_headphones_label))
|
||||
|
||||
+3
@@ -31,6 +31,9 @@ class UnknownPodDeviceCardVH(parent: ViewGroup) :
|
||||
lastSeen.text = device.lastSeenFormatted(item.now)
|
||||
|
||||
reception.text = device.getSignalQuality(context)
|
||||
if (item.isMainPod) {
|
||||
reception.append("\n(${getString(R.string.pods_yours)})")
|
||||
}
|
||||
|
||||
rawdata.text = device.rawDataHex
|
||||
}
|
||||
|
||||
@@ -71,6 +71,7 @@
|
||||
<string name="pods_charging_label">Charging</string>
|
||||
<string name="pods_inear_label">In ear</string>
|
||||
<string name="pods_microphone_label">Microphone</string>
|
||||
<string name="pods_yours">Yours</string>
|
||||
|
||||
<string name="settings_label">Settings</string>
|
||||
<string name="settings_privacy_policy_label">Privacy policy</string>
|
||||
|
||||
Reference in New Issue
Block a user