Commit 2c644f6b authored by Mygod's avatar Mygod

Fix IllegalArgumentException

parent 5eacec20
......@@ -178,6 +178,10 @@ class CustomRulesFragment : ToolbarFragment(), Toolbar.OnMenuItemClickListener,
Template.Url -> AclItem(text, true)
}
}, arg)
override fun onClick(dialog: DialogInterface?, which: Int) {
if (which != DialogInterface.BUTTON_NEGATIVE) super.onClick(dialog, which)
}
}
private inner class AclRuleViewHolder(view: View) : RecyclerView.ViewHolder(view),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment