diff --git a/app/views/DisplayPrefsView.js b/app/views/DisplayPrefsView.js
index d1e29d139..09da4edc9 100644
--- a/app/views/DisplayPrefsView.js
+++ b/app/views/DisplayPrefsView.js
@@ -21,19 +21,19 @@ const DisplayPrefsView = props => {
const { theme } = useTheme();
const { sortBy, groupByType, showFavorites, showUnread, showAvatar, displayMode } = useSelector(state => state.sortPreferences);
+ const { isMasterDetail } = useSelector(state => state.app);
const dispatch = useDispatch();
useEffect(() => {
- const { navigation, isMasterDetail } = props;
+ const { navigation } = props;
navigation.setOptions({
- title: I18n.t('Display'),
- headerLeft: () =>
- isMasterDetail ? (
-
- ) : (
-
- )
+ title: I18n.t('Display')
});
+ if (!isMasterDetail) {
+ navigation.setOptions({
+ headerLeft: () =>
+ });
+ }
}, []);
const setSortPreference = async param => {