Skip to content

Commit 7c1731c

Browse files
authored
Fix cancel button colors on Push Pre-Permission template (#537)
1 parent 2aeed4f commit 7c1731c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AndroidSDKCore/src/main/java/com/leanplum/messagetemplates/options/BaseMessageOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ static ActionArgs createPushPrePermissionArgs(Context context) {
220220
// new arguments
221221
.withAction(Args.CANCEL_ACTION, null)
222222
.with(Args.CANCEL_BUTTON_TEXT, Values.MAYBE_LATER)
223-
.with(Args.CANCEL_BUTTON_BACKGROUND_COLOR, Color.WHITE)
224-
.with(Args.CANCEL_BUTTON_TEXT_COLOR, Color.argb(255, 127, 127, 127)); // light grey
223+
.withColor(Args.CANCEL_BUTTON_BACKGROUND_COLOR, Color.WHITE)
224+
.withColor(Args.CANCEL_BUTTON_TEXT_COLOR, Color.argb(255, 127, 127, 127)); // light grey
225225
}
226226
}

0 commit comments

Comments
 (0)