fix multiple permissions not showing

This commit is contained in:
greenart7c3
2024-06-02 07:27:16 -03:00
parent 59ead05004
commit e873ced68c
4 changed files with 6 additions and 2 deletions
@@ -74,6 +74,7 @@ data class Permission(
10006 -> context.getString(R.string.event_kind_10006)
10007 -> context.getString(R.string.event_kind_10007)
10009 -> context.getString(R.string.event_kind_10009)
10013 -> context.getString(R.string.event_kind_10013)
10015 -> context.getString(R.string.event_kind_10015)
10030 -> context.getString(R.string.event_kind_10030)
10096 -> context.getString(R.string.event_kind_10096)
@@ -96,7 +96,9 @@ fun AccountScreen(
if (intentData != null) {
if (intents.none { item -> item.id == intentData!!.id }) {
flow.value = listOf(intentData!!)
val oldIntents = intents.toMutableList()
oldIntents.add(intentData!!)
flow.value = oldIntents
}
}
+1
View File
@@ -232,4 +232,5 @@
<string name="bunker_notifications">Bunker Notifications</string>
<string name="notifications_for_approving_or_rejecting_bunker_requests">Notifications for Approving or Rejecting Bunker requests.</string>
<string name="new_event_to_sign">new event to sign</string>
<string name="event_kind_10013">Private outbox relay list</string>
</resources>
+1 -1
View File
@@ -17,7 +17,7 @@ lifecycle_version = "2.7.0"
material3 = "1.2.1"
mockk = "1.13.10"
nav_version = "2.7.7"
quartz = "main-SNAPSHOT"
quartz = "0.87.1"
compose_ui = "1.6.7"
richtextUi = "077a2cde64"
roomKtx = "2.6.1"