mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Fixed multi pane subtitle
This commit is contained in:
@@ -121,7 +121,8 @@ public class FragmentEx extends Fragment {
|
||||
|
||||
private void updateSubtitle() {
|
||||
AppCompatActivity activity = (AppCompatActivity) getActivity();
|
||||
if (activity != null) {
|
||||
Bundle args = getArguments();
|
||||
if (activity != null && (args == null || !args.getBoolean("pane"))) {
|
||||
ActionBar actionbar = activity.getSupportActionBar();
|
||||
if (actionbar != null)
|
||||
actionbar.setSubtitle(subtitle);
|
||||
|
||||
Reference in New Issue
Block a user