Merge branch 'release/1.0.11' into develop
This commit is contained in:
commit
11deaa049e
11
CHANGES.md
11
CHANGES.md
|
@ -1,4 +1,4 @@
|
||||||
Changes in Element 1.0.11 (2020-XX-XX)
|
Changes in Element 1.0.11 (2020-11-27)
|
||||||
===================================================
|
===================================================
|
||||||
|
|
||||||
Features ✨:
|
Features ✨:
|
||||||
|
@ -30,14 +30,9 @@ Bugfix 🐛:
|
||||||
- Update profile has no effect if user is in zero rooms
|
- Update profile has no effect if user is in zero rooms
|
||||||
- Fix issues with matrix.to deep linking (#2349)
|
- Fix issues with matrix.to deep linking (#2349)
|
||||||
|
|
||||||
Translations 🗣:
|
|
||||||
-
|
|
||||||
|
|
||||||
SDK API changes ⚠️:
|
SDK API changes ⚠️:
|
||||||
- AccountService now exposes suspendable function instead of using MatrixCallback (#2354). Note: We will incrementally migrate all the SDK API in a near future.
|
- AccountService now exposes suspendable function instead of using MatrixCallback (#2354).
|
||||||
|
Note: We will incrementally migrate all the SDK API in a near future (#2449)
|
||||||
Build 🧱:
|
|
||||||
-
|
|
||||||
|
|
||||||
Test:
|
Test:
|
||||||
- Add `allScreensTest` to cover all screens of the app
|
- Add `allScreensTest` to cover all screens of the app
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
This new version mainly contains user interface and user experience improvements. Now you can invite friends, and create DM very fast by scanning QR codes.
|
||||||
|
Full changelog: https://github.com/vector-im/element-android/releases/tag/v1.0.11
|
|
@ -62,8 +62,8 @@ data class MainActivityArgs(
|
||||||
) : Parcelable
|
) : Parcelable
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is the entry point of RiotX
|
* This is the entry point of Element Android
|
||||||
* This Activity, when started with argument, is also doing some cleanup when user disconnects,
|
* This Activity, when started with argument, is also doing some cleanup when user signs out,
|
||||||
* clears cache, is logged out, or is soft logged out
|
* clears cache, is logged out, or is soft logged out
|
||||||
*/
|
*/
|
||||||
class MainActivity : VectorBaseActivity(), UnlockedActivity {
|
class MainActivity : VectorBaseActivity(), UnlockedActivity {
|
||||||
|
@ -78,6 +78,8 @@ class MainActivity : VectorBaseActivity(), UnlockedActivity {
|
||||||
|
|
||||||
intent.putExtra(EXTRA_ARGS, args)
|
intent.putExtra(EXTRA_ARGS, args)
|
||||||
activity.startActivity(intent)
|
activity.startActivity(intent)
|
||||||
|
// Ensure all the Activities are destroyed, it seems that the intent flags are not enough now.
|
||||||
|
activity.finishAffinity()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -91,7 +91,7 @@ class HomeActivityViewModel @AssistedInject constructor(
|
||||||
val isVerified = it.getOrNull()?.isTrusted() ?: false
|
val isVerified = it.getOrNull()?.isTrusted() ?: false
|
||||||
if (!isVerified && onceTrusted) {
|
if (!isVerified && onceTrusted) {
|
||||||
// cross signing keys have been reset
|
// cross signing keys have been reset
|
||||||
// Tigger a popup to re-verify
|
// Trigger a popup to re-verify
|
||||||
// Note: user can be null in case of logout
|
// Note: user can be null in case of logout
|
||||||
safeActiveSession.getUser(safeActiveSession.myUserId)
|
safeActiveSession.getUser(safeActiveSession.myUserId)
|
||||||
?.toMatrixItem()
|
?.toMatrixItem()
|
||||||
|
|
|
@ -92,14 +92,14 @@
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:minWidth="300dp">
|
android:minWidth="300dp"
|
||||||
|
android:paddingTop="40dp">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/showUserCodeCardNameText"
|
android:id="@+id/showUserCodeCardNameText"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginTop="40dp"
|
|
||||||
android:layout_marginEnd="16dp"
|
android:layout_marginEnd="16dp"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
|
|
Loading…
Reference in New Issue