mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-10-10 12:31:35 -04:00
refactor: replace save with send string
This commit is contained in:
1 parent
62420132f1
commit
640cd0a269
2 files changed
+2
-2
No files matched your search
@@ -578,7 +578,7 @@ class MapFragment : ScreenFragment("Map Fragment"), Logging, View.OnClickListene
|
||||
.setNeutralButton(R.string.cancel) { _, _ ->
|
||||
debug("User canceled marker create dialog")
|
||||
}
|
||||
.setPositiveButton(getString(R.string.save)) { _, _ ->
|
||||
.setPositiveButton(getString(R.string.send)) { _, _ ->
|
||||
debug("User created waypoint")
|
||||
model.sendWaypoint(waypoint {
|
||||
name = nameInput.text.toString().ifEmpty { return@setPositiveButton }
|
||||
|
||||
@@ -48,7 +48,7 @@ fun PreferenceFooter(
|
||||
colors = ButtonDefaults.buttonColors(backgroundColor = Color.Green)
|
||||
) {
|
||||
Text(
|
||||
text = stringResource(id = R.string.save),
|
||||
text = stringResource(id = R.string.send),
|
||||
style = MaterialTheme.typography.body1,
|
||||
color = if (!enabled) MaterialTheme.colors.onSurface.copy(alpha = ContentAlpha.disabled) else Color.DarkGray,
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user