Skip to content

Commit

Permalink
Made "Simple Dial" an alias for radial gauge
Browse files Browse the repository at this point in the history
  • Loading branch information
Gold872 committed Apr 27, 2024
1 parent 44ceb5e commit 8144b49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/services/nt_widget_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 8144b49

Please sign in to comment.