set default export before click
This commit is contained in:
parent
f7c7b8050f
commit
829292399b
1 changed files with 1 additions and 0 deletions
|
@ -265,6 +265,7 @@ class SettingsActivity : AppCompatActivity(), SimpleDialog.OnDialogResultListene
|
||||||
|
|
||||||
binding.importExportSettings.setOnClickListener {
|
binding.importExportSettings.setOnClickListener {
|
||||||
var i = 0
|
var i = 0
|
||||||
|
selectedImpExp = Location.entries[i].name
|
||||||
val dialog = AlertDialog.Builder(this, R.style.MyPopup)
|
val dialog = AlertDialog.Builder(this, R.style.MyPopup)
|
||||||
.setTitle("Import/Export Settings")
|
.setTitle("Import/Export Settings")
|
||||||
.setSingleChoiceItems(Location.entries.map { it.name }.toTypedArray(), 0) { dialog, which ->
|
.setSingleChoiceItems(Location.entries.map { it.name }.toTypedArray(), 0) { dialog, which ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue