diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json
index 75656079..76111621 100644
--- a/src/assets/i18n/en.json
+++ b/src/assets/i18n/en.json
@@ -1470,5 +1470,8 @@
"EXPORT_CAUTION_IOS": "iOS: If you want to set up a new phone, the best and easiest way is using the iCloud Backup",
"PAGE_SETTINGS_LANGUAGE_NORWEGIAN": "Norwegian",
"VISUALIZER_SHOT_IMPORT_FAILED": "Visualizer shot import failed",
- "PAGE_SETTINGS_LANGUAGE_PORTUGUESE": "Portuguese"
+ "PAGE_SETTINGS_LANGUAGE_PORTUGUESE": "Portuguese",
+ "SMART_SCALE_ESPRESSO_WEIGHT_DOUBLING_JUST_ONE_CUP_TITLE": "Weight doubling - 1 of 2 cups on scale",
+ "SMART_SCALE_ESPRESSO_WEIGHT_DOUBLING_JUST_ONE_CUP_DESCRIPTION": "If just one cups fits on your scale, you can enable this setting. This makes it possible that you can choose in the brew, to activate a checkbox, when you have two cups, but just one is on the scale. The weight will get when the settings is activated doubled, to behave like there would be two cups on the scale.",
+ "BEAN_SORT_WEIGHT_REMAINING": "Remaining weight"
}
diff --git a/src/classes/settings/settings.ts b/src/classes/settings/settings.ts
index 9063d805..4a81e6b6 100755
--- a/src/classes/settings/settings.ts
+++ b/src/classes/settings/settings.ts
@@ -195,6 +195,7 @@ export class Settings implements ISettings {
public bluetooth_scale_listening_threshold_active: boolean;
public bluetooth_scale_ignore_weight_button_active: boolean;
public bluetooth_scale_first_drip_threshold: number;
+ public bluetooth_scale_espresso_just_one_cup: boolean;
public maximize_hide_value_cards_on_maximize_screen: boolean;
@@ -512,6 +513,7 @@ export class Settings implements ISettings {
this.bluetooth_scale_listening_threshold_active = false;
this.bluetooth_scale_ignore_weight_button_active = false;
this.bluetooth_scale_first_drip_threshold = 0.1;
+ this.bluetooth_scale_espresso_just_one_cup = false;
this.maximize_hide_value_cards_on_maximize_screen = false;
@@ -577,25 +579,25 @@ export class Settings implements ISettings {
this.default_last_coffee_parameters = new DefaultBrewParameter();
Object.assign(
this.default_last_coffee_parameters,
- settingsObj.default_last_coffee_parameters
+ settingsObj.default_last_coffee_parameters,
);
this.repeat_coffee_parameters = new RepeatBrewParameter();
Object.assign(
this.repeat_coffee_parameters,
- settingsObj.repeat_coffee_parameters
+ settingsObj.repeat_coffee_parameters,
);
this.bean_manage_parameters = new BeanManageParameter();
Object.assign(
this.bean_manage_parameters,
- settingsObj.bean_manage_parameters
+ settingsObj.bean_manage_parameters,
);
this.bean_visible_list_view_parameters = new BeanListViewParameter();
Object.assign(
this.bean_visible_list_view_parameters,
- settingsObj.bean_visible_list_view_parameters
+ settingsObj.bean_visible_list_view_parameters,
);
}
diff --git a/src/components/brews/brew-brewing-graph/brew-brewing-graph.component.html b/src/components/brews/brew-brewing-graph/brew-brewing-graph.component.html
index 3436c700..52d68adb 100644
--- a/src/components/brews/brew-brewing-graph/brew-brewing-graph.component.html
+++ b/src/components/brews/brew-brewing-graph/brew-brewing-graph.component.html
@@ -1,4 +1,20 @@
@let shallProfileHidden = shallFlowProfileBeHidden();
+
+@if(settings.bluetooth_scale_espresso_just_one_cup === true && brewComponent.choosenPreparation.style_type === PREPARATION_STYLE_TYPE.ESPRESSO)
+{
+
+
+
+
+