Skip to content

Commit 1133b74

Browse files
committed
Add createSimpleInfoDialog that takes string values
1 parent 89cd97e commit 1133b74

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

app/src/main/java/org/buffer/android/components/DialogFactory.kt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,15 @@ object DialogFactory {
129129
.create()
130130
}
131131

132+
fun createSimpleInfoDialog(
133+
context: Context,
134+
title: String,
135+
message: String,
136+
neutral: String
137+
): AlertDialog {
138+
return createSimpleInfoDialog(context, title, message, neutral)
139+
}
140+
132141
fun createSimpleInfoDialog(
133142
context: Context,
134143
@StringRes titleResource: Int,

0 commit comments

Comments
 (0)