Skip to content

Commit

Permalink
WalkersGuide-Android Release v2.3.1:
Browse files Browse the repository at this point in the history
- Fixed a crash in the plan route dialog
  • Loading branch information
Eric Scheibler committed Jun 14, 2023
1 parent 0997aa2 commit c6d4b1d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ Change Log



v2.3.1: 2023-06-14
------------------

Fixed a crash in the plan route dialog



v2.3.0: 2023-06-10
------------------

Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ android {
prod {
applicationId "org.walkersguide.android"
dimension "version"
versionCode 25
versionName '2.3.0'
versionCode 26
versionName '2.3.1'
signingConfig signingConfigs.prod
// internal
// database
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ public View configureView(View view, Bundle savedInstanceState) {
announceObjectAhead = getArguments().getBoolean(KEY_ANNOUNCE_OBJECT_AHEAD);
listPosition = 0;
}
requireActivity().addMenuProvider(this, getViewLifecycleOwner(), Lifecycle.State.RESUMED);

labelHeading = (TextView) view.findViewById(R.id.labelHeading);
swipeRefreshListView = (SwipeRefreshLayout) view.findViewById(R.id.swipeRefreshListView);
Expand Down Expand Up @@ -243,6 +242,11 @@ public View configureView(View view, Bundle savedInstanceState) {
return view;
}

@Override public void onViewCreated(View view, Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
requireActivity().addMenuProvider(this, getViewLifecycleOwner(), Lifecycle.State.RESUMED);
}

@Override public void onSaveInstanceState(Bundle savedInstanceState) {
super.onSaveInstanceState(savedInstanceState);
savedInstanceState.putBoolean(KEY_AUTO_UPDATE, autoUpdate);
Expand Down

0 comments on commit c6d4b1d

Please sign in to comment.