Skip to content

Commit

Permalink
Merge pull request #98 from PapillonApp/ServiceSelector/Views/ED-disable
Browse files Browse the repository at this point in the history
Ajouter une alerte: service encore en developpement sur Ecole direct
  • Loading branch information
tryon-dev authored Aug 30, 2024
2 parents 75dfac9 + 04aa418 commit ceb22db
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/views/login/ServiceSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,25 @@ const ServiceSelector: Screen<"ServiceSelector"> = ({ navigation }) => {
playSound();
break;
case "ed":
navigation.navigate("EcoleDirecteCredentials");
playSound();
showAlert({
title: "Service en développement",
message: "Ce service est actuellement en développement. Certaines fonctionnalités peuvent ne pas fonctionner correctement ou ne pas être disponibles.",
actions: [
{
title: "Retour",
onPress: () => {},
icon: <Undo2 />,
primary: false,
},
]
});
break;
case "skolengo":
// TODO : Remove this alert when Skolengo is fully supported
if(__DEV__) {
showAlert({
title: "[DEBUG] Service en développement",
message: "Ce service est actuellement en développement. Certaines fonctionnalités peuvent ne pas fonctionner correctement ou ne pas être disponible.",
message: "Ce service est actuellement en développement. Certaines fonctionnalités peuvent ne pas fonctionner correctement ou ne pas être disponibles.",
actions: [
{
title: "Annuler",
Expand Down

0 comments on commit ceb22db

Please sign in to comment.