Commit 52ec56d6 authored by Torsten Grote's avatar Torsten Grote

Merge branch 'invalid-slide-direction' into 'master'

Revert change to slide direction

Closes #1478

See merge request !1009
parents a5c9e7c7 7b3afcca
Pipeline #2851 passed with stage
in 11 minutes and 30 seconds
import android.annotation.SuppressLint;
import android.arch.lifecycle.Observer;
import android.arch.lifecycle.ViewModelProvider;
import android.arch.lifecycle.ViewModelProviders;
......@@ -104,7 +105,7 @@ import static android.os.Build.VERSION.SDK_INT;
import static;
import static;
import static;
import static android.view.Gravity.END;
import static android.view.Gravity.RIGHT;
import static android.widget.Toast.LENGTH_SHORT;
import static java.util.Collections.emptyList;
import static java.util.Collections.sort;
......@@ -197,7 +198,9 @@ public class ConversationActivity extends BriarActivity
public void onCreate(@Nullable Bundle state) {
if (SDK_INT >= 21) {
Transition slide = new Slide(END);
// Spurious lint warning - using END causes a crash
Transition slide = new Slide(RIGHT);
setSceneTransitionAnimation(slide, null, slide);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment