mirror of
https://github.com/mudabbir-ahmad/Media-Aggregation-and-Sorting-System.git
synced 2026-10-07 19:40:20 +00:00
refactor: clean up comments and unused code in various files
This commit is contained in:
1 parent
9b20804f5a
commit
bb6bd0f4b3
28 files changed
+14
-392
No files matched your search
@@ -14,14 +14,10 @@ import HomeScreen from './src/screens/HomeScreen';
|
||||
import SearchScreen from './src/screens/SearchScreen';
|
||||
import CollectionsScreen from './src/screens/AlbumsScreen';
|
||||
import SettingsScreen from './src/screens/SettingsScreen';
|
||||
|
||||
// Required for OAuth deep link redirect to close the browser and return to the app
|
||||
WebBrowser.maybeCompleteAuthSession();
|
||||
|
||||
const Stack = createNativeStackNavigator();
|
||||
const Tab = createBottomTabNavigator();
|
||||
|
||||
// Bottom tab navigator shown after login
|
||||
function MainTabs({ route }) {
|
||||
const { userId } = route.params || {};
|
||||
const { theme } = useTheme();
|
||||
@@ -73,8 +69,6 @@ function MainTabs({ route }) {
|
||||
</Tab.Navigator>
|
||||
);
|
||||
}
|
||||
|
||||
// Root stack navigator
|
||||
function AppNavigator() {
|
||||
return (
|
||||
<Stack.Navigator screenOptions={{ headerShown: false }}>
|
||||
|
||||
Reference in new issue
Block a user