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

Commit 3ddc57e3 authored by Julia Reynolds's avatar Julia Reynolds Committed by android-build-merger
Browse files

Fix a11y read-twice bug am: e50aa221

am: efd38005

Change-Id: I2624864f700ec77fe3f5be978e23d59b3fbea7ff
parents 32cbcdfe efd38005
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -223,6 +223,8 @@ class ChannelEditorDialogController @Inject constructor(
        dialog = Dialog(context)

        dialog.window?.requestFeature(Window.FEATURE_NO_TITLE)
        // Prevent a11y readers from reading the first element in the dialog twice
        dialog.setTitle("\u00A0")
        dialog.apply {
            setContentView(R.layout.notif_half_shelf)
            setCanceledOnTouchOutside(true)
+1 −1
Original line number Diff line number Diff line
@@ -143,7 +143,7 @@ class ChannelRow(c: Context, attrs: AttributeSet) : LinearLayout(c, attrs) {
    private fun updateViews() {
        val nc = channel ?: return

        channelName.text = nc.name ?: "(missing)"
        channelName.text = nc.name ?: ""

        nc.group?.let { groupId ->
            channelDescription.text = controller.groupNameForId(groupId)