mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-05 07:55:40 +00:00
Remove up button on loading activity
This commit is contained in:
parent
4cac496edf
commit
98e336faee
@ -28,6 +28,7 @@ import org.thoughtcrime.securesms.onboarding.messagenotifications.startPNModeAct
|
|||||||
import org.thoughtcrime.securesms.onboarding.pickname.startPickDisplayNameActivity
|
import org.thoughtcrime.securesms.onboarding.pickname.startPickDisplayNameActivity
|
||||||
import org.thoughtcrime.securesms.ui.AppTheme
|
import org.thoughtcrime.securesms.ui.AppTheme
|
||||||
import org.thoughtcrime.securesms.ui.ProgressArc
|
import org.thoughtcrime.securesms.ui.ProgressArc
|
||||||
|
import org.thoughtcrime.securesms.util.setUpActionBarSessionLogo
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
|
|
||||||
private const val EXTRA_MNEMONIC = "mnemonic"
|
private const val EXTRA_MNEMONIC = "mnemonic"
|
||||||
@ -66,6 +67,8 @@ class LoadingActivity: BaseActionBarActivity() {
|
|||||||
.apply { setContent { LoadingScreen() } }
|
.apply { setContent { LoadingScreen() } }
|
||||||
.let(::setContentView)
|
.let(::setContentView)
|
||||||
|
|
||||||
|
setUpActionBarSessionLogo(true)
|
||||||
|
|
||||||
viewModel.restore(application, intent.getByteArrayExtra(EXTRA_MNEMONIC)!!)
|
viewModel.restore(application, intent.getByteArrayExtra(EXTRA_MNEMONIC)!!)
|
||||||
|
|
||||||
lifecycleScope.launch {
|
lifecycleScope.launch {
|
||||||
|
@ -23,7 +23,6 @@ import org.thoughtcrime.securesms.crypto.KeyPairUtilities
|
|||||||
import org.thoughtcrime.securesms.dependencies.ConfigFactory
|
import org.thoughtcrime.securesms.dependencies.ConfigFactory
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
import kotlin.time.Duration
|
import kotlin.time.Duration
|
||||||
import kotlin.time.Duration.Companion.hours
|
|
||||||
import kotlin.time.Duration.Companion.milliseconds
|
import kotlin.time.Duration.Companion.milliseconds
|
||||||
import kotlin.time.Duration.Companion.seconds
|
import kotlin.time.Duration.Companion.seconds
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user