Skip to content

Allow to customize the strings of the dialog buttons #23

@Joseph-Gayed

Description

@Joseph-Gayed

I'm working in an app which supports Arabic language interface and I want to change the strings of the dialog action buttons that are displayed whenever a dialog is shown.

It's currently hard-coded in the com.livinglifetechway.quickpermissions_kotlin.util.PermissionCheckerFragment:

activity?.alert {
message = quickPermissionsRequest?.rationaleMessage.orEmpty()
positiveButton("TRY AGAIN") {
requestPermissionsFromUser()
}
negativeButton("CANCEL") {
clean()
}
}?.apply { isCancelable = false }?.show()

Suggestion : can we support the strings of negativeButton and positiveButton in the QuickPermissionsRequest?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions