Skip to content

Commit ae1a0bf

Browse files
authored
Merge pull request #541 from jorgeblacio/release_0_21_7
Hot fix.
2 parents a9329f5 + aaaca4d commit ae1a0bf

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ android {
4747
defaultConfig {
4848
minSdkVersion 21
4949
targetSdkVersion 28
50-
versionCode 81
51-
versionName "0.21.5"
50+
versionCode 84
51+
versionName "0.21.7"
5252
applicationId "com.criptext.mail"
5353
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
5454
multiDexEnabled true

src/main/kotlin/com/criptext/mail/scenes/composer/ComposerController.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ class ComposerController(private val storage: KeyValueStorage,
148148
host.refreshToolbarItems()
149149
val emails = data.to.map { it.email }.plus(data.cc.map { it.email }).plus(data.bcc.map { it.email })
150150
if(!model.checkedDomains.map { it.name }.containsAll(emails.map { EmailAddressUtils.extractEmailAddressDomain(it) })){
151-
dataSource.submitRequest(ComposerRequest.CheckDomain(emails.distinct()))
151+
if(emails.map { EmailAddressUtils.extractEmailAddressDomain(it) }.isNotEmpty())
152+
dataSource.submitRequest(ComposerRequest.CheckDomain(emails.distinct()))
152153
}
153154
}
154155
}

src/main/kotlin/com/criptext/mail/scenes/settings/privacy/PrivacyController.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ class PrivacyController(
6161
scene.enableTwoFASwitch(false)
6262
generalDataSource.submitRequest(GeneralRequest.Set2FA(isChecked))
6363
}else{
64+
scene.showMessage(UIMessage(R.string.message_warning_two_fa))
6465
scene.enableTwoFASwitch(true)
6566
scene.updateTwoFa(!isChecked)
6667
}

src/main/res/layout/activity_email_source.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
android:id="@+id/source_text"
6868
android:textColor="?attr/criptextPrimaryTextColor"
6969
android:textSize="15sp"
70+
android:textIsSelectable="true"
7071
/>
7172

7273
</LinearLayout>

0 commit comments

Comments
 (0)