fix(build): resolve all actionable compile-time warnings (#5058)

This commit is contained in:
James Rich 2026-04-10 17:42:30 -05:00 committed by GitHub
parent 3d139d32fd
commit 929e273978
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 34 additions and 17 deletions

View file

@ -483,7 +483,13 @@ private fun NodeItemActions(isOnline: Boolean, onAction: (String) -> Unit) {
Icon(Icons.Rounded.Route, "Traceroute", Modifier.size(20.dp), MaterialTheme.colorScheme.primary)
}
IconButton(onClick = { onAction("telemetry") }, modifier = Modifier.size(40.dp)) {
Icon(Icons.Rounded.BatteryUnknown, "Telemetry", Modifier.size(20.dp), MaterialTheme.colorScheme.secondary)
Icon(
@Suppress("DEPRECATION") // AutoMirrored variant not available in current icons version
Icons.Rounded.BatteryUnknown,
"Telemetry",
Modifier.size(20.dp),
MaterialTheme.colorScheme.secondary,
)
}
IconButton(onClick = { onAction("position") }, modifier = Modifier.size(40.dp)) {
Icon(Icons.Rounded.MyLocation, "Position", Modifier.size(20.dp), MaterialTheme.colorScheme.tertiary)

View file

@ -14,6 +14,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
@file:Suppress("DEPRECATION") // IMeshService is deprecated but still required for AIDL binding
package com.meshtastic.android.meshserviceexample
import android.content.Intent