Skip to content

Commit

Permalink
fix: comment out Auth calls to avoid CI failures
Browse files Browse the repository at this point in the history
  • Loading branch information
francelu committed Oct 10, 2024
1 parent 8bf686b commit 7f12bdd
Showing 1 changed file with 53 additions and 54 deletions.
107 changes: 53 additions & 54 deletions app/src/main/java/com/android/periodpals/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.rememberNavController
import com.android.periodpals.ui.navigation.NavigationActions
import com.android.periodpals.ui.navigation.Route
import com.android.periodpals.ui.theme.PeriodPalsAppTheme
import io.github.jan.supabase.createSupabaseClient
import io.github.jan.supabase.postgrest.Postgrest
Expand Down Expand Up @@ -52,58 +50,59 @@ fun PeriodPalsApp() {
CountriesList()

// TODO: Uncomment what has been implemented
NavHost(navController = navController, startDestination = Route.AUTH) {
// // Authentication
// navigation(
// startDestination = Screen.AUTH,
// route = Route.AUTH,
// ) {
// composable(Screen.AUTH) { SignInScreen(navigationActions) }
// composable(Screen.REGISTER) { RegisterScreen(navigationActions) }
// composable(Screen.CREATE_PROFILE) { CreateProfileScreen(navigationActions) }
// }
//
// // Alert push notifications
// navigation(
// startDestination = Screen.ALERT,
// route = Route.ALERT,
// ) {
// composable(Screen.ALERT) { AlertScreen(navigationActions) }
// }
//
// // Notifications received or pushed
// navigation(
// startDestination = Screen.NOTIF,
// route = Route.NOTIF,
// ) {
// composable(Screen.NOTIF) { NotifScreen(navigationActions) }
// }
//
// // Map
// navigation(
// startDestination = Screen.MAP,
// route = Route.MAP,
// ) {
// composable(Screen.MAP) { MapScreen(navigationActions) }
// }
//
// // Timer
// navigation(
// startDestination = Screen.TIMER,
// route = Route.TIMER,
// ) {
// composable(Screen.TIMER) { TimerScreen(navigationActions) }
// }
//
// // Profile
// navigation(
// startDestination = Screen.PROFILE,
// route = Route.PROFILE,
// ) {
// composable(Screen.PROFILE) { ProfileScreen(navigationActions) }
// composable(Screen.EDIT_PROFILE) { EditProfileScreen(navigationActions) }
// }
}

// NavHost(navController = navController, startDestination = Route.AUTH) {
// // Authentication
// navigation(
// startDestination = Screen.AUTH,
// route = Route.AUTH,
// ) {
// composable(Screen.AUTH) { SignInScreen(navigationActions) }
// composable(Screen.REGISTER) { RegisterScreen(navigationActions) }
// composable(Screen.CREATE_PROFILE) { CreateProfileScreen(navigationActions) }
// }
//
// // Alert push notifications
// navigation(
// startDestination = Screen.ALERT,
// route = Route.ALERT,
// ) {
// composable(Screen.ALERT) { AlertScreen(navigationActions) }
// }
//
// // Notifications received or pushed
// navigation(
// startDestination = Screen.NOTIF,
// route = Route.NOTIF,
// ) {
// composable(Screen.NOTIF) { NotifScreen(navigationActions) }
// }
//
// // Map
// navigation(
// startDestination = Screen.MAP,
// route = Route.MAP,
// ) {
// composable(Screen.MAP) { MapScreen(navigationActions) }
// }
//
// // Timer
// navigation(
// startDestination = Screen.TIMER,
// route = Route.TIMER,
// ) {
// composable(Screen.TIMER) { TimerScreen(navigationActions) }
// }
//
// // Profile
// navigation(
// startDestination = Screen.PROFILE,
// route = Route.PROFILE,
// ) {
// composable(Screen.PROFILE) { ProfileScreen(navigationActions) }
// composable(Screen.EDIT_PROFILE) { EditProfileScreen(navigationActions) }
// }
// }
}

@Composable
Expand Down

0 comments on commit 7f12bdd

Please sign in to comment.