mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
update permission strings
This commit is contained in:
parent
10ed90a0c6
commit
3ba0b30304
5 changed files with 12 additions and 12 deletions
|
|
@ -315,10 +315,10 @@ class MainActivity : AppCompatActivity(), Logging,
|
|||
MaterialAlertDialogBuilder(this)
|
||||
.setTitle(getString(R.string.required_permissions))
|
||||
.setMessage(getMissingMessage())
|
||||
.setNeutralButton(R.string.cancel_no_radio) { _, _ ->
|
||||
.setNeutralButton(R.string.cancel) { _, _ ->
|
||||
warn("User bailed due to permissions")
|
||||
}
|
||||
.setPositiveButton(R.string.allow_will_show) { _, _ ->
|
||||
.setPositiveButton(R.string.accept) { _, _ ->
|
||||
doRequest()
|
||||
}
|
||||
.show()
|
||||
|
|
|
|||
|
|
@ -665,7 +665,7 @@ class SettingsFragment : ScreenFragment("Settings"), Logging {
|
|||
.setNeutralButton(R.string.cancel) { _, _ ->
|
||||
debug("Decided not to report a bug")
|
||||
}
|
||||
.setPositiveButton(getString(R.string.show_system_settings)) { _, _ ->
|
||||
.setPositiveButton(getString(R.string.accept)) { _, _ ->
|
||||
myActivity.requestBackgroundPermission()
|
||||
}
|
||||
.show()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue