mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix(build): resolve all actionable compile-time warnings (#5058)
This commit is contained in:
parent
3d139d32fd
commit
929e273978
10 changed files with 34 additions and 17 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue