fix activity transitions (this time for real)

This commit is contained in:
Conny Duck 2018-08-23 20:57:51 +02:00
parent bfb82bb10c
commit 8a1ac685c8
3 changed files with 3 additions and 3 deletions

View file

@ -530,7 +530,7 @@ class AccountActivity : BottomSheetActivity(), ActionButtonActivity, HasSupportF
val intent = ComposeActivity.IntentBuilder()
.mentionedUsernames(setOf(it.username))
.build(this)
startActivityWithSlideInAnimation(intent)
startActivity(intent)
}
}

View file

@ -1459,7 +1459,7 @@ public final class ComposeActivity
getIntent().getStringExtra(REPLYING_STATUS_CONTENT_EXTRA),
getIntent().getStringExtra(REPLYING_STATUS_AUTHOR_USERNAME_EXTRA),
statusVisibility);
finish();
finishWithoutSlideOutAnimation();
}
@Override

View file

@ -136,7 +136,7 @@ public abstract class SFragment extends BaseFragment {
.repyingStatusAuthor(actionableStatus.getAccount().getLocalUsername())
.replyingStatusContent(actionableStatus.getContent().toString())
.build(getContext());
startActivity(intent);
getActivity().startActivity(intent);
}
protected void more(final Status status, View view, final int position) {