mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor: split configs into individual components (#623)
This commit is contained in:
parent
6fe5f2733a
commit
a5fa47292e
26 changed files with 2793 additions and 1756 deletions
|
|
@ -768,20 +768,13 @@ class MainActivity : AppCompatActivity(), Logging {
|
|||
handler.removeCallbacksAndMessages(null)
|
||||
return true
|
||||
}
|
||||
R.id.device_settings -> {
|
||||
R.id.radio_config -> {
|
||||
supportFragmentManager.beginTransaction()
|
||||
.add(R.id.mainActivityLayout, DeviceSettingsFragment())
|
||||
.addToBackStack(null)
|
||||
.commit()
|
||||
return true
|
||||
}
|
||||
R.id.module_settings -> {
|
||||
supportFragmentManager.beginTransaction()
|
||||
.add(R.id.mainActivityLayout, ModuleSettingsFragment())
|
||||
.addToBackStack(null)
|
||||
.commit()
|
||||
return true
|
||||
}
|
||||
R.id.save_messages_csv -> {
|
||||
val intent = Intent(Intent.ACTION_CREATE_DOCUMENT).apply {
|
||||
addCategory(Intent.CATEGORY_OPENABLE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue