mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-05-08 13:40:26 +00:00
NotificationsMenu temporary dropped
This commit is contained in:
parent
ad3b00136b
commit
d087c6e4df
1 changed files with 1 additions and 9 deletions
|
|
@ -7,11 +7,10 @@ const Image = require('stremio/common/Image');
|
|||
const SearchBar = require('./SearchBar');
|
||||
const AddonsButton = require('./AddonsButton');
|
||||
const FullscreenButton = require('./FullscreenButton');
|
||||
const NotificationsMenu = require('./NotificationsMenu');
|
||||
const NavMenu = require('./NavMenu');
|
||||
const styles = require('./styles');
|
||||
|
||||
const HorizontalNavBar = React.memo(({ className, route, query, title, backButton, searchBar, addonsButton, fullscreenButton, notificationsMenu, navMenu }) => {
|
||||
const HorizontalNavBar = React.memo(({ className, route, query, title, backButton, searchBar, addonsButton, fullscreenButton, navMenu }) => {
|
||||
const backButtonOnClick = React.useCallback(() => {
|
||||
window.history.back();
|
||||
}, []);
|
||||
|
|
@ -61,12 +60,6 @@ const HorizontalNavBar = React.memo(({ className, route, query, title, backButto
|
|||
:
|
||||
null
|
||||
}
|
||||
{
|
||||
notificationsMenu ?
|
||||
<NotificationsMenu className={styles['notifications-menu']} />
|
||||
:
|
||||
null
|
||||
}
|
||||
{
|
||||
navMenu ?
|
||||
<NavMenu className={styles['nav-menu']} />
|
||||
|
|
@ -88,7 +81,6 @@ HorizontalNavBar.propTypes = {
|
|||
searchBar: PropTypes.bool,
|
||||
addonsButton: PropTypes.bool,
|
||||
fullscreenButton: PropTypes.bool,
|
||||
notificationsMenu: PropTypes.bool,
|
||||
navMenu: PropTypes.bool
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue