setThemeAndRun function

Future setThemeAndRun ()

Loads app theme and runs the app

Implementation

setThemeAndRun() async {
  TupleTheme savedTheme = (await getCurrentTheme());
  print("setTheme home " + savedTheme.name);

  runApp(MyApp(
    theme: savedTheme.theme,
  ));
}