fix activity transitions (this time for real)

main
Conny Duck 6 years ago
parent 9b9450736f
commit 6c68acd551
  1. 2
      app/src/main/java/com/keylesspalace/tusky/AccountActivity.kt
  2. 2
      app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java
  3. 2
      app/src/main/java/com/keylesspalace/tusky/fragment/SFragment.java

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

@ -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

@ -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) {

Loading…
Cancel
Save