Changed toast message
This commit is contained in:
@@ -44,9 +44,9 @@ export class ChallengeCardComponent {
|
|||||||
color: 'success'
|
color: 'success'
|
||||||
});
|
});
|
||||||
await toast.present();
|
await toast.present();
|
||||||
} catch(err) {
|
} catch {
|
||||||
const toast = await this.toastCtrl.create({
|
const toast = await this.toastCtrl.create({
|
||||||
message: 'Impossible de déposer ta preuve',
|
message: 'Tu as déjà déposé une preuve pour ce défi',
|
||||||
duration: 2000,
|
duration: 2000,
|
||||||
color: 'danger'
|
color: 'danger'
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user