feat(chat): stabilize multi-image attachment picker (#986)
This commit is contained in:
1 parent
c7d7abf4a1
commit
0ae5ed4db2
11 files changed
+432
-55
No files matched your search
@@ -75,19 +75,21 @@ class MainActivity : ComponentActivity() {
|
||||
consumeNotificationIntent(intent)
|
||||
}
|
||||
|
||||
override fun onStart() {
|
||||
super.onStart()
|
||||
override fun onResume() {
|
||||
super.onResume()
|
||||
NotificationHelper.setAppForeground(this, true)
|
||||
ExternalActivityLifecycleGuard.onHostResumed()
|
||||
NotificationHelper.stop(this)
|
||||
if (AuthManager.isGatedMode() || !AuthManager.getToken().isNullOrBlank()) {
|
||||
HermesWsClient.connect()
|
||||
}
|
||||
}
|
||||
|
||||
override fun onStop() {
|
||||
override fun onPause() {
|
||||
ExternalActivityLifecycleGuard.onHostPaused()
|
||||
NotificationHelper.setAppForeground(this, false)
|
||||
NotificationHelper.start(this)
|
||||
super.onStop()
|
||||
super.onPause()
|
||||
}
|
||||
|
||||
private fun consumeNotificationIntent(intent: Intent?) {
|
||||
|
||||
Reference in new issue
Block a user