Skip to content

Commit

Permalink
feat: make lnmetrics default lamdaServer url
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmohsin7 committed Feb 18, 2024
1 parent cc80164 commit 7147ea5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/model/user_setting.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Setting {
this.host,
this.path,
this.nodeId,
this.lambdaServer,
this.lambdaServer = "https://lnlambda.lnmetrics.info",
this.rune}) {
clientMode = ClientProvider.getClientByDefPlatform().first;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/views/setting/lnlambda_setting_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class _LnlambdaSettingViewState extends State<LnlambdaSettingView> {
),
const Text("Lambda Server"),
TextFormField(
controller: TextEditingController(text: setting.lambdaServer ?? ''),
controller: TextEditingController(text: setting.lambdaServer),
onChanged: (text) {
setting.lambdaServer = text;
},
Expand Down

0 comments on commit 7147ea5

Please sign in to comment.