mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
Merge branch 'on' into on-2
This commit is contained in:
commit
272f223ca0
@ -113,7 +113,7 @@ class LandingActivity : BaseActionBarActivity() {
|
||||
modifier = Modifier
|
||||
.width(262.dp)
|
||||
.align(Alignment.CenterHorizontally)
|
||||
.contentDescription(R.string.AccessibilityId_privacy_policy_link),
|
||||
.contentDescription(R.string.AccessibilityId_open_url),
|
||||
fontSize = 11.sp,
|
||||
lineHeight = 13.sp,
|
||||
onClick = ::openDialog
|
||||
|
@ -28,7 +28,8 @@ import org.session.libsession.utilities.TextSecurePreferences
|
||||
import org.thoughtcrime.securesms.ApplicationContext
|
||||
import org.thoughtcrime.securesms.BaseActionBarActivity
|
||||
import org.thoughtcrime.securesms.dependencies.ConfigFactory
|
||||
import org.thoughtcrime.securesms.onboarding.messagenotifications.startPNModeActivity
|
||||
import org.thoughtcrime.securesms.onboarding.messagenotifications.MessageNotificationsActivity
|
||||
import org.thoughtcrime.securesms.onboarding.messagenotifications.startMessageNotificationsActivity
|
||||
import org.thoughtcrime.securesms.onboarding.pickname.startPickDisplayNameActivity
|
||||
import org.thoughtcrime.securesms.ui.AppTheme
|
||||
import org.thoughtcrime.securesms.ui.ProgressArc
|
||||
@ -61,7 +62,7 @@ class LoadingActivity: BaseActionBarActivity() {
|
||||
|
||||
when {
|
||||
skipped -> startPickDisplayNameActivity(true, flags)
|
||||
else -> startPNModeActivity(flags)
|
||||
else -> startMessageNotificationsActivity(flags)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -165,7 +165,7 @@ fun NotificationRadioButton(
|
||||
}
|
||||
}
|
||||
|
||||
fun Context.startPNModeActivity(flags: Int = 0) {
|
||||
fun Context.startMessageNotificationsActivity(flags: Int = 0) {
|
||||
Intent(this, MessageNotificationsActivity::class.java)
|
||||
.also { it.flags = flags }
|
||||
.also(::startActivity)
|
||||
|
@ -34,7 +34,8 @@ import network.loki.messenger.R
|
||||
import org.session.libsession.utilities.AppTextSecurePreferences
|
||||
import org.thoughtcrime.securesms.ApplicationContext
|
||||
import org.thoughtcrime.securesms.BaseActionBarActivity
|
||||
import org.thoughtcrime.securesms.onboarding.messagenotifications.startPNModeActivity
|
||||
import org.thoughtcrime.securesms.onboarding.messagenotifications.MessageNotificationsActivity
|
||||
import org.thoughtcrime.securesms.onboarding.messagenotifications.startMessageNotificationsActivity
|
||||
import org.thoughtcrime.securesms.ui.AppTheme
|
||||
import org.thoughtcrime.securesms.ui.PreviewTheme
|
||||
import org.thoughtcrime.securesms.ui.base
|
||||
@ -68,7 +69,7 @@ class PickDisplayNameActivity : BaseActionBarActivity() {
|
||||
|
||||
lifecycleScope.launch {
|
||||
viewModel.eventFlow.collect {
|
||||
startPNModeActivity()
|
||||
startMessageNotificationsActivity()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1117,6 +1117,7 @@
|
||||
<string name="AccessibilityId_error_message">Error message</string>
|
||||
<string name="AccessibilityId_hide_recovery_password_button">Hide recovery password button</string>
|
||||
<string name="AccessibilityId_confirm_button">Confirm button</string>
|
||||
<string name="AccessibilityId_open_url">Open URL</string>
|
||||
<string name="accountIdErrorInvalid">This Account ID is invalid. Please check and try again.</string>
|
||||
<string name="enter_account_id">Enter Account ID</string>
|
||||
<string name="accountIdOrOnsEnter">Enter account ID or ONS</string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user