mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-10-08 00:51:13 +02:00
Operator profiles as list. Add simon property group.
This commit is contained in:
1 parent
618d31d016
commit
f1f145a35f
3 files changed
+44
-42
No files matched your search
@@ -13,12 +13,7 @@ class OperatorProfileState extends ChangeNotifier {
|
||||
|
||||
// Add default operator profiles if this is first launch
|
||||
if (addDefaults) {
|
||||
final defaults = [
|
||||
OperatorProfile.lowes(),
|
||||
OperatorProfile.homeDepot(),
|
||||
];
|
||||
|
||||
_profiles.addAll(defaults);
|
||||
_profiles.addAll(OperatorProfile.getDefaults());
|
||||
await OperatorProfileService().save(_profiles);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user