Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 512c8cf6 authored by Mindy Pereira's avatar Mindy Pereira
Browse files

Add title to recurring event delete dialog.

Fixes b/5681424 On tablet, after deleting a recurring event the pop-up that shows up doesn't have a title

Change-Id: I19d50358bf2d1122a80898278b26118013b96901
parent ef4fc988
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -418,6 +418,10 @@
         user has asked to delete an event. The user still has a chance to cancel
         this operation. -->
    <string name="delete_this_event_title">Delete this event?</string>
    <!-- This is a confirmation message in a popup dialog that appears when the
         user has asked to delete an event that is recurring. The user still has a chance to cancel
         this operation. -->
    <string name="delete_recurring_event_title">Delete <xliff:g id="eventtitle">%s</xliff:g>?</string>
    <!-- This is the title of a popup dialog that asks for confirmation before
         changing the response to an invitation. -->
    <string name="change_response_title">Change response</string>
+2 −0
Original line number Diff line number Diff line
@@ -321,6 +321,8 @@ public class DeleteEventHelper {
            ArrayAdapter<String> adapter = new ArrayAdapter<String>(mContext,
                    android.R.layout.simple_list_item_single_choice, labelArray);
            AlertDialog dialog = new AlertDialog.Builder(mContext)
                    .setTitle(
                            mContext.getString(R.string.delete_recurring_event_title,model.mTitle))
                    .setIconAttribute(android.R.attr.alertDialogIcon)
                    .setSingleChoiceItems(adapter, which, mDeleteListListener)
                    .setPositiveButton(android.R.string.ok, mDeleteRepeatingDialogListener)