mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
b3fea81bed
The non-squashed original commits are available at 243bd3a56: * First, quick and dirty version * Basic HTML connectivity view * Codestyle, automatically refresh * Make it accessible from the settings * Improve usability I did some user-testing with my family, these are the results: - Added an emoji to the html page (red dot for not connected, and so on) - Adapted error messages for SMTP: "Not started" -> "(You did not try to send a message recently)" "🟢 Connected" -> "🟢 Your last message was sent successfully" - "Not connected" is misleading, because they think that this means that there is no internet connection. But "Not connected" can have other causes, like, a not responding server or a changed-but-not-updated-in-DC password Possible solutions: - "Not connected" -> "Not connected with gmx.de" (or whatever comes after the '@' in configured_addr). The problem: some people have an own domain for their emails, but no own servers. "Not connected with <your domain>" and might make them think that the problem is that DC tries to connect to the server <your domain>, while the server is hosted at Strato.com. - We can ask the system whether there currently is network and then show another error message. The problem: Sometimes the system is wrong. * Remove error_network * Remove server_response string * Move `getConnectivitySummary()` to `DcHelper` * Implement the changes we agreed on * Remove string error_no_network * small fixes
39 lines
1.6 KiB
XML
39 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<org.thoughtcrime.securesms.preferences.widgets.ProfilePreference
|
|
android:key="preference_category_profile"/>
|
|
|
|
<Preference android:key="preference_category_chats"
|
|
android:title="@string/pref_chats_and_media"
|
|
android:icon="@drawable/ic_forum_24dp"
|
|
android:layout="@layout/preference_item" />
|
|
|
|
<Preference android:key="preference_category_notifications"
|
|
android:title="@string/pref_notifications"
|
|
android:icon="@drawable/ic_notifications_24dp"
|
|
android:layout="@layout/preference_item" />
|
|
|
|
<Preference android:key="preference_category_appearance"
|
|
android:title="@string/pref_appearance"
|
|
android:icon="@drawable/ic_brightness_6_24dp"
|
|
android:layout="@layout/preference_item" />
|
|
|
|
<Preference android:key="preference_category_advanced"
|
|
android:title="@string/menu_advanced"
|
|
android:icon="@drawable/ic_advanced_24dp"
|
|
android:layout="@layout/preference_item" />
|
|
|
|
<Preference android:key="preference_category_connectivity"
|
|
android:title="@string/connectivity"
|
|
android:icon="@drawable/ic_swap_vert_24dp"
|
|
android:layout="@layout/preference_item"/>
|
|
|
|
<Preference android:key="preference_category_help"
|
|
android:title="@string/menu_help"
|
|
android:icon="@drawable/ic_help_24dp"
|
|
android:layout="@layout/preference_item" />
|
|
|
|
</PreferenceScreen>
|