Skip to content

Commit

Permalink
After granting notification permissions show the notification
Browse files Browse the repository at this point in the history
  • Loading branch information
greenart7c3 committed Feb 3, 2025
1 parent 6a3154a commit 90f4165
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ import com.greenart7c3.nostrsigner.models.Permission
import com.greenart7c3.nostrsigner.models.ReturnType
import com.greenart7c3.nostrsigner.models.SignerType
import com.greenart7c3.nostrsigner.models.basicPermissions
import com.greenart7c3.nostrsigner.relays.AmberRelayStats
import com.greenart7c3.nostrsigner.service.BunkerRequestUtils
import com.greenart7c3.nostrsigner.service.EventNotificationConsumer
import com.greenart7c3.nostrsigner.service.NotificationDataSource
Expand Down Expand Up @@ -502,6 +503,8 @@ fun MainScreen(
if (LocalPreferences.shouldShowRationale(context) == null) {
LocalPreferences.updateShouldShowRationale(context, true)
}
} else {
AmberRelayStats.updateNotification()
}
}

Expand Down

0 comments on commit 90f4165

Please sign in to comment.