Skip to content

Commit

Permalink
feat update offline maanger
Browse files Browse the repository at this point in the history
  • Loading branch information
sansan88 committed Oct 18, 2023
1 parent e74d71f commit edbf0b2
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,15 @@ export class AppComponent implements OnInit {
if (!status.connected) {
const toast = await this.toastController.create({
message: "Du bist offline",
duration: 1500,
duration: 3000,
position: "top",
buttons: [
{
// text:"Ok",
icon: "cloud-offline-outline"
}

],
color: "danger",
});
await toast.present();
Expand All @@ -114,6 +121,13 @@ export class AppComponent implements OnInit {
duration: 1500,
position: "top",
color: "success",
buttons: [
{
// text:"Ok",
icon: "wifi-outline"
}

],
});
await toast.present();
}
Expand Down

0 comments on commit edbf0b2

Please sign in to comment.