mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-06 03:18:23 +00:00
fix multiple permissions not showing
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user