From 298e41b5dc93296d719908db29c822b2af18c745 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 12 Dec 2016 19:12:14 +0100 Subject: [PATCH] simplify the changeview dialog --- .../com/simplemobiletools/calendar/dialogs/ChangeViewDialog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/dialogs/ChangeViewDialog.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/dialogs/ChangeViewDialog.kt index a81ed8300..294f27085 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/dialogs/ChangeViewDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/dialogs/ChangeViewDialog.kt @@ -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()