title: Ionic - switch a function with ion-toggle
body: <p>I am using ion-toggle for switching my app between dark mode and light mode with my two functions <code>( enableDark() and disableDark() )</code>, Every thing is alright for the code but i want that if the ion-toggle is checked that the whole app turn into dark mode and undo it if it's unchecked.... I've tried this</p>
  
  <p><code>&lt;ion-toggle (ionChange)="update(enableDark())"&gt;&lt;/ion-toggle&gt;</code></p>
  
  <p>It turns into dark mode when the ion-toggle is checked but, it does not turn back into light mode when it's unchecked! How will i do for being qble to switch between the two functions <code>( enableDark() and disableDark() )</code> with the ion-toogle?
  Thanks!</p>