mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
fade left/right animation when opening the archive (#2446)
this is similar to opening a chat and feels more natural. settings/connectivity/help etc. still appear from the bottom as being "something little different".
This commit is contained in:
@@ -406,6 +406,7 @@ public class ConversationListActivity extends PassphraseRequiredActionBarActivit
|
||||
} else {
|
||||
startActivity(intent);
|
||||
}
|
||||
overridePendingTransition(R.anim.slide_from_right, R.anim.fade_scale_out);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -55,6 +55,12 @@ public class ConversationListArchiveActivity extends PassphraseRequiredActionBar
|
||||
setIntent(intent);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onPause() {
|
||||
super.onPause();
|
||||
if (isFinishing()) overridePendingTransition(R.anim.fade_scale_in, R.anim.slide_to_right);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
|
||||
Reference in New Issue
Block a user