Skip to content

Commit

Permalink
[Settings] Fix title for the Mode of Ops settings page
Browse files Browse the repository at this point in the history
Signed-off-by: Muntashir Al-Islam <[email protected]>
  • Loading branch information
MuntashirAkon committed Apr 22, 2024
1 parent d1a5d2a commit b6806be
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,12 @@ public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceStat
mModel.getCustomCommand().observe(getViewLifecycleOwner(), customCommand::setText);
}

@Override
public void onStart() {
super.onStart();
requireActivity().setTitle(R.string.pref_mode_of_operations);
}

private void updateViews() {
boolean serverActive = LocalServer.alive(requireContext());
boolean serverRequired = requireRemoteServer(mCurrentMode);
Expand Down

0 comments on commit b6806be

Please sign in to comment.