simplify the changeview dialog

This commit is contained in:
tibbi 2016-12-12 19:12:14 +01:00
parent c1b78e3a07
commit 298e41b5dc
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class ChangeViewDialog(val activity: Activity, val callback: (newView: Int) -> U
view.dialog_radio_view.setOnCheckedChangeListener(this)
dialog = AlertDialog.Builder(activity)
.setTitle(activity.resources.getString(R.string.change_view))
.setTitle(R.string.change_view)
.setView(view)
.create()