add rich text and options

This commit is contained in:
Kukks
2019-01-02 12:47:06 +01:00
parent 92a2bb4d32
commit e4b9895ba7
6 changed files with 42 additions and 13 deletions

View File

@@ -36,6 +36,7 @@ namespace BTCPayServer.Controllers
public bool SoundsEnabled { get; set; }
public string DisqusShortname { get; set; }
public bool AnimationsEnabled { get; set; }
public bool UseInvoiceAmount { get; set; }
}
@@ -67,6 +68,7 @@ namespace BTCPayServer.Controllers
SoundsEnabled = settings.SoundsEnabled,
DisqusShortname = settings.DisqusShortname,
AnimationsEnabled = settings.AnimationsEnabled,
UseInvoiceAmount = settings.UseInvoiceAmount
};
return View(vm);
}
@@ -114,6 +116,8 @@ namespace BTCPayServer.Controllers
SoundsEnabled = vm.SoundsEnabled,
DisqusShortname = vm.DisqusShortname,
AnimationsEnabled = vm.AnimationsEnabled,
UseInvoiceAmount = vm.UseInvoiceAmount
});
await UpdateAppSettings(app);
_EventAggregator.Publish(new CrowdfundAppUpdated()