Merge pull request #4410 from osmandapp/fix_style

Fix build
This commit is contained in:
vshcherb 2017-09-06 14:50:41 +02:00 committed by GitHub
commit 4aba582f0b

View file

@ -104,7 +104,7 @@ public class SplitSegmentDialogFragment extends DialogFragment {
Toolbar toolbar = (Toolbar) view.findViewById(R.id.split_interval_toolbar);
TextView titleTextView = (TextView) toolbar.findViewById(R.id.title);
if (app.getSettings().isLightContent()) {
titleTextView.setTextAppearance(getContext(), R.style.Widget_Styled_LightActionBarHeader);
titleTextView.setTextAppearance(getContext(), R.style.Widget_Styled_LightActionBarTitle);
} else {
titleTextView.setTextAppearance(getContext(), R.style.TextAppearance_AppCompat_Widget_ActionBar_Title);
}