mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 13:24:52 +02:00
Prevent crash
This commit is contained in:
@@ -225,11 +225,11 @@ public class FragmentBase extends Fragment {
|
||||
Log.i("Create " + this + " saved=" + (savedInstanceState != null));
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
Bundle args = getArguments();
|
||||
if (args == null)
|
||||
setArguments(new Bundle());
|
||||
|
||||
if (savedInstanceState != null) {
|
||||
if (savedInstanceState == null) {
|
||||
Bundle args = getArguments();
|
||||
if (args == null)
|
||||
setArguments(new Bundle());
|
||||
} else {
|
||||
subtitle = savedInstanceState.getString("fair:subtitle");
|
||||
requestKey = savedInstanceState.getString("fair:requestKey");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user