Skip to content

Commit 683c0fa

Browse files
UPDATED README
1 parent 0edba5b commit 683c0fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ To Change the font of only content:
156156

157157
Bind the listener to confirm button:
158158

159-
new KAlertDialog(this, KAlertDialog.WARNING_TYPE)
159+
new KAlertDialog(this, KAlertDialog.WARNING_TYPE, 0)
160160
.setTitleText("Are you sure?")
161161
.setContentText("Won't be able to recover this file!")
162162
.setConfirmText("Yes,delete it!")
@@ -170,7 +170,7 @@ Bind the listener to confirm button:
170170

171171
Show the cancel button and bind listener to it:
172172

173-
new KAlertDialog(this, KAlertDialog.WARNING_TYPE)
173+
new KAlertDialog(this, KAlertDialog.WARNING_TYPE, 0)
174174
.setTitleText("Are you sure?")
175175
.setContentText("Won't be able to recover this file!")
176176
.setCancelText("No,cancel plx!")
@@ -237,7 +237,7 @@ And if you want to hide Title Text and Content Text of alert dialog
237237

238238
**Change** the dialog style upon confirming:
239239

240-
new KAlertDialog(this, KAlertDialog.WARNING_TYPE)
240+
new KAlertDialog(this, KAlertDialog.WARNING_TYPE, 0)
241241
.setTitleText("Are you sure?")
242242
.setContentText("Won't be able to recover this file!")
243243
.setConfirmText("Yes,delete it!")

0 commit comments

Comments
 (0)