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

Commit b0e8c137 authored by Trogel's avatar Trogel Committed by Manuel Sierich
Browse files

DeskClock: Fix select all text in label dialog

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/8385
Change-Id: Ia3936c64df8a924abdebdc83e933d22406382af9
parent 569e0a6b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -151,7 +151,7 @@ public class LabelDialogFragment extends DialogFragment {
        mLabelBox.setSingleLine();
        mLabelBox.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_CAP_SENTENCES);
        mLabelBox.setText(label);
        mLabelBox.selectAll();
        mLabelBox.setSelectAllOnFocus(true);

        // The line at the bottom of EditText is part of its background therefore the padding
        // must be added to its container.