streamerMode #183

Merged
sarah merged 3 commits from streamerMode into trunk 2021-09-14 23:36:18 +00:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit ac619cd514 - Show all commits

View File

@ -75,11 +75,11 @@ class Settings extends ChangeNotifier {
// Set Locale and notify listeners // Set Locale and notify listeners
switchLocale(Locale(settings["Locale"])); switchLocale(Locale(settings["Locale"]));
blockUnknownConnections = settings["BlockUnknownConnections"]; blockUnknownConnections = settings["BlockUnknownConnections"] ?? false;
streamerMode = settings["StreamerMode"]; streamerMode = settings["StreamerMode"] ?? false;
// Decide whether to enable Experiments // Decide whether to enable Experiments
experimentsEnabled = settings["ExperimentsEnabled"]; experimentsEnabled = settings["ExperimentsEnabled"] ?? false;
// Set the internal experiments map. Casting from the Map<dynamic, dynamic> that we get from JSON // Set the internal experiments map. Casting from the Map<dynamic, dynamic> that we get from JSON
experiments = new HashMap<String, bool>.from(settings["Experiments"]); experiments = new HashMap<String, bool>.from(settings["Experiments"]);