mirror of
https://github.com/MatomoCamp/matomocamp-companion-android.git
synced 2024-09-19 16:13:46 +02:00
Fixed crash when creating the options menu on some Android versions:
menu was created before the event was loaded. (Reported by Simon Debaeke)
This commit is contained in:
parent
5052b355c2
commit
e2584ccf52
1 changed files with 2 additions and 2 deletions
|
@ -76,9 +76,9 @@ public class EventDetailsFragment extends Fragment {
|
|||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setHasOptionsMenu(true);
|
||||
|
||||
event = getArguments().getParcelable(ARG_EVENT);
|
||||
|
||||
setHasOptionsMenu(true);
|
||||
}
|
||||
|
||||
public Event getEvent() {
|
||||
|
|
Loading…
Reference in a new issue