Skip to content

Commit

Permalink
Improve deprecation of old registerAppWithDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
p1gp1g committed Dec 27, 2023
1 parent 0a984e8 commit 0dcc0ba
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ object UnifiedPush {

@JvmStatic
@Deprecated(
"Replace with registerAppWithDialog(" +
"Context, String, RegistrationDialogContent, ArrayList<String>, String" +
")"
"Replace with registerAppWithDialog",
replaceWith = ReplaceWith("registerAppWithDialog(" +
"context, instance, RegistrationDialogContent().apply { noDistributorDialog.message = dialogMessage }, features, messageForDistributor" +
")")
)
fun registerAppWithDialog(
context: Context,
Expand Down

0 comments on commit 0dcc0ba

Please sign in to comment.