forked from upstream-mirrors/quik
Use full list of QK Responses
This commit is contained in:
@@ -184,7 +184,7 @@ class NotificationManagerImpl @Inject constructor(
|
||||
.putExtra("threadId", threadId)
|
||||
val replyPI = PendingIntent.getBroadcast(context, threadId.toInt() + 40000, replyIntent, PendingIntent.FLAG_UPDATE_CURRENT)
|
||||
|
||||
val responseSet = arrayListOf("Hello", "Hey").toTypedArray().sortedArray()
|
||||
val responseSet = context.resources.getStringArray(R.array.qk_responses)
|
||||
val remoteInput = RemoteInput.Builder("body")
|
||||
.setLabel(context.getString(R.string.notification_reply))
|
||||
.setChoices(responseSet)
|
||||
|
||||
@@ -202,4 +202,19 @@
|
||||
<item>0</item>
|
||||
</integer-array>
|
||||
|
||||
<string-array name="qk_responses">
|
||||
<item>Okay</item>
|
||||
<item>Give me a moment</item>
|
||||
<item>On my way</item>
|
||||
<item>Thanks</item>
|
||||
<item>Sounds good</item>
|
||||
<item>What\'s up?</item>
|
||||
<item>Agreed</item>
|
||||
<item>No</item>
|
||||
<item>Love you</item>
|
||||
<item>Sorry</item>
|
||||
<item>LOL</item>
|
||||
<item>That\'s okay</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user