Skip to content

Commit 75498e7

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents f57d44c + 242e3be commit 75498e7

File tree

8 files changed

+25
-22
lines changed

8 files changed

+25
-22
lines changed

CHANGELOG-upstream.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Delta Chat Android Changelog
22

3-
## Unreleased
3+
## v2.25.0
4+
2025-11
45

56
* Make it possible to invite members into a channel via a QR code,
67
and make channels more secure
@@ -15,11 +16,12 @@
1516
* fix sorting of old media in gallery
1617
* fix text direction in "x members" subtitle for RTL languages
1718
* fix group invite QR screen's layout
19+
* tweak text hints in advanced classic e-mail configuration
1820
* remove deprecated "companion app" code
1921
* remove deprecated "Watch Sent Folder" preference
2022
* remove deprecated "send self-report" preference
2123
* don't show email address in shared vcard
22-
* update to core 2.24.0
24+
* update to core 2.25.0
2325

2426
## v2.22.0
2527
2025-10

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ android {
3333
useLibrary 'org.apache.http.legacy'
3434

3535
defaultConfig {
36-
versionCode 30000731
37-
versionName "2.24.0"
36+
versionCode 30000732
37+
versionName "2.25.0"
3838

3939
applicationId "chat.delta.lite"
4040
multiDexEnabled true

src/main/java/org/thoughtcrime/securesms/ConversationFragment.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,9 @@ else if(dcChat.isSelfTalk()) {
183183
else if(dcChat.isDeviceTalk()) {
184184
noMessageTextView.setText(R.string.device_talk_explain);
185185
}
186+
else if(!dcChat.isEncrypted()) {
187+
noMessageTextView.setText(R.string.chat_unencrypted_explanation);
188+
}
186189
else {
187190
String message = getString(R.string.chat_new_one_to_one_hint, dcChat.getName());
188191
noMessageTextView.setText(message);

src/main/java/org/thoughtcrime/securesms/RegistrationActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public void onCreate(Bundle bundle) {
124124

125125
ActionBar actionBar = getSupportActionBar();
126126
if (actionBar != null) {
127-
actionBar.setTitle(R.string.login_header);
127+
actionBar.setTitle(R.string.manual_account_setup_option);
128128
actionBar.setDisplayHomeAsUpEnabled(true);
129129
actionBar.setHomeAsUpIndicator(R.drawable.ic_close_white_24dp);
130130
actionBar.setElevation(0); // TODO: use custom toolbar instead

src/main/java/org/thoughtcrime/securesms/qr/QrShowFragment.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,
9797
imageView.setSVG(svg);
9898
} catch (SVGParseException e) {
9999
e.printStackTrace();
100+
} catch (Exception e) {
101+
e.printStackTrace();
102+
Activity activity = getActivity();
103+
if (activity != null) {
104+
activity.finish();
105+
}
100106
}
101107

102108
view.findViewById(R.id.share_link_button).setOnClickListener((v) -> showInviteLinkDialog());

src/main/res/layout/registration_activity.xml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
android:layout_height="wrap_content"
121121
android:gravity="left"
122122
android:padding="16dp"
123-
android:text="@string/login_no_servers_hint"
123+
android:text="@string/login_advanced_hint"
124124
app:layout_constraintStart_toStartOf="parent"
125125
app:layout_constraintTop_toBottomOf="@id/provider_layout" />
126126

@@ -152,7 +152,7 @@
152152
android:layout_height="40dp"
153153
android:padding="8dp"
154154
android:gravity="start|center_vertical"
155-
android:text="@string/menu_advanced"
155+
android:text="@string/menu_more_options"
156156
android:textColor="?attr/colorAccent"
157157
android:textSize="16sp"
158158
app:layout_constraintHorizontal_chainStyle="packed"
@@ -391,20 +391,6 @@
391391
app:layout_constraintStart_toStartOf="@id/guideline_root_start"
392392
app:layout_constraintTop_toBottomOf="@id/cert_check" />
393393

394-
<TextView
395-
android:id="@+id/sub_header"
396-
android:layout_width="0dp"
397-
android:layout_height="wrap_content"
398-
android:gravity="left"
399-
android:paddingLeft="16dp"
400-
android:paddingRight="16dp"
401-
android:paddingTop="1dp"
402-
android:paddingBottom="16dp"
403-
android:text="@string/login_subheader"
404-
android:textColor="@color/gray50"
405-
app:layout_constraintStart_toStartOf="parent"
406-
app:layout_constraintTop_toBottomOf="@id/view_log_button" />
407-
408394
</androidx.constraintlayout.widget.ConstraintLayout>
409395

410396
</ScrollView>

src/main/res/values/strings.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,9 +655,14 @@
655655
<string name="welcome_chat_over_email">Secure Decentralized Chat</string>
656656
<string name="scan_invitation_code">Scan Invitation Code</string>
657657
<string name="login_title">Log In</string>
658+
<string name="login_advanced_hint">This login is for advanced users:\n\n• Do not use an account you\'re using in another app.\n\n• Classic e-mail server allow chats without end-to-end encryption marked by a mail icon.</string>
659+
<!-- deprecated -->
658660
<string name="login_header">Log into your E-Mail Account</string>
661+
<!-- deprecated -->
659662
<string name="login_explain">Log in with an existing e-mail account</string>
663+
<!-- deprecated -->
660664
<string name="login_subheader">For known e-mail providers additional settings are set up automatically. Sometimes IMAP needs to be enabled in the web settings. Consult your e-mail provider or friends for help.</string>
665+
<!-- deprecated -->
661666
<string name="login_no_servers_hint">Delta Chat does not collect user data, everything stays on your device.</string>
662667
<string name="login_inbox">Inbox</string>
663668
<string name="login_imap_login">IMAP Login Name</string>
@@ -978,6 +983,7 @@
978983
<string name="ephemeral_timer_weeks_by_you">You set disappearing messages timer to %1$s weeks.</string>
979984
<!-- %1$s will be replaced by the number of weeks (always >1) the timer is set to, %2$s will be replaced by name and address of the contact -->
980985
<string name="ephemeral_timer_weeks_by_other">Disappearing messages timer set to %1$s weeks by %2$s.</string>
986+
<string name="chat_unencrypted_explanation">Messages in this chat use classic email and are not end-to-end encrypted.</string>
981987
<string name="chat_protection_enabled_tap_to_learn_more">Messages are end-to-end encrypted. Tap to learn more.</string>
982988
<string name="chat_protection_enabled_explanation">All messages in this chat are end-to-end encrypted.\n\nEnd-to-end encryption keeps messages private between you and your chat partners. Not even servers, providers or relays can read them.</string>
983989
<string name="invalid_unencrypted_tap_to_learn_more">⚠️ %1$s requires end-to-end encryption which is not setup for this chat yet. Tap to learn more.</string>

0 commit comments

Comments
 (0)