From 8144b49530d5769f493352426c33a4cff6d1044b Mon Sep 17 00:00:00 2001 From: Gold87 Date: Fri, 26 Apr 2024 20:09:03 -0400 Subject: [PATCH] Made "Simple Dial" an alias for radial gauge --- lib/services/nt_widget_builder.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/services/nt_widget_builder.dart b/lib/services/nt_widget_builder.dart index 8a086edf..d1df30e8 100644 --- a/lib/services/nt_widget_builder.dart +++ b/lib/services/nt_widget_builder.dart @@ -83,6 +83,7 @@ class NTWidgetBuilder { NumberBar.widgetType: NumberBarModel.new, NumberSlider.widgetType: NumberSliderModel.new, RadialGauge.widgetType: RadialGaugeModel.new, + 'Simple Dial': RadialGaugeModel.new, TextDisplay.widgetType: TextDisplayModel.new, 'Text View': TextDisplayModel.new, VoltageView.widgetType: VoltageViewModel.new, @@ -129,6 +130,7 @@ class NTWidgetBuilder { NumberBar.widgetType: NumberBarModel.fromJson, NumberSlider.widgetType: NumberSliderModel.fromJson, RadialGauge.widgetType: RadialGaugeModel.fromJson, + 'Simple Dial': RadialGaugeModel.fromJson, TextDisplay.widgetType: TextDisplayModel.fromJson, 'Text View': TextDisplayModel.fromJson, VoltageView.widgetType: VoltageViewModel.fromJson,