@@ -71,49 +154,13 @@ const SidebarNavigation = () => {
)
)}
- {(account && account.staff) && (
- }
- count={dashboardCount}
- />
- )}
-
- {(account && instance.invites_enabled) && (
- }
- />
- )}
-
- {(settings.get('isDeveloper')) && (
- }
- />
- )}
-
- {(features.localTimeline || features.publicTimeline) && (
-
- )}
-
- {features.localTimeline && (
- }
- />
- )}
-
- {(features.publicTimeline && features.federating) && (
- }
- />
+ {menu.length > 0 && (
+
+ }
+ />
+
)}
diff --git a/app/soapbox/containers/soapbox.js b/app/soapbox/containers/soapbox.js
index c1a7db84e..ad14c6e7e 100644
--- a/app/soapbox/containers/soapbox.js
+++ b/app/soapbox/containers/soapbox.js
@@ -86,6 +86,7 @@ const mapStateToProps = (state) => {
locale: validLocale(locale) ? locale : 'en',
themeCss: generateThemeCss(soapboxConfig),
brandColor: soapboxConfig.get('brandColor'),
+ appleAppId: soapboxConfig.get('appleAppId'),
themeMode: settings.get('themeMode'),
singleUserMode,
};
@@ -108,6 +109,7 @@ class SoapboxMount extends React.PureComponent {
themeCss: PropTypes.string,
themeMode: PropTypes.string,
brandColor: PropTypes.string,
+ appleAppId: PropTypes.string,
dispatch: PropTypes.func,
singleUserMode: PropTypes.bool,
};
@@ -171,6 +173,10 @@ class SoapboxMount extends React.PureComponent {
{themeCss && }