Put back brackets in different lines
MODIFY
WalletWasabi.Backend/Controllers/ChaumianCoinJoinController.cs
WalletWasabi.Backend/Controllers/ChaumianCoinJoinController.cs
@@ -378,7 +378,10 @@ namespace WalletWasabi.Backend.Controllers
CcjRoundPhase phase = round.Phase;
// Start building the response.
- var resp = new ConnConfResp { CurrentPhase = phase };
+ var resp = new ConnConfResp
+ {
+ CurrentPhase = phase
+ };
switch (phase)
{

MODIFY
WalletWasabi.Gui/Controls/EditableTextBlock.cs
WalletWasabi.Gui/Controls/EditableTextBlock.cs
@@ -26,7 +26,10 @@ namespace WalletWasabi.Gui.Controls
public EditableTextBlock()
{
- EditClickTimer = new DispatcherTimer { Interval = TimeSpan.FromMilliseconds(500) };
+ EditClickTimer = new DispatcherTimer
+ {
+ Interval = TimeSpan.FromMilliseconds(500)
+ };
EditClickTimer.Tick += (sender, e) =>
{
@@ -38,7 +41,10 @@ namespace WalletWasabi.Gui.Controls
}
};
- this.GetObservable(TextProperty).Subscribe(t => { EditText = t; });
+ this.GetObservable(TextProperty).Subscribe(t =>
+ {
+ EditText = t;
+ });
this.GetObservable(InEditModeProperty).Subscribe(mode =>
{

MODIFY
WalletWasabi.Gui/Global.cs
WalletWasabi.Gui/Global.cs
@@ -493,7 +493,10 @@ namespace WalletWasabi.Gui
KeyManager keyManager;
// Set the LastAccessTime.
- new FileInfo(walletFullPath) { LastAccessTime = DateTime.Now };
+ new FileInfo(walletFullPath)
+ {
+ LastAccessTime = DateTime.Now
+ };
keyManager = KeyManager.FromFile(walletFullPath);
Logger.LogInfo($"Wallet loaded: {Path.GetFileNameWithoutExtension(keyManager.FilePath)}.");

MODIFY
WalletWasabi.Gui/Shell/Commands/HelpCommands.cs
WalletWasabi.Gui/Shell/Commands/HelpCommands.cs
@@ -115,7 +115,10 @@ namespace WalletWasabi.Gui.Shell.Commands
Width = 1024,
Height = 512,
Content = devTools,
- DataTemplates = { new ViewLocator<Avalonia.Diagnostics.ViewModels.ViewModelBase>() }
+ DataTemplates =
+ {
+ new ViewLocator<Avalonia.Diagnostics.ViewModels.ViewModelBase>()
+ }
};
devToolsWindow.Show();

MODIFY
WalletWasabi.Tests/ModelTests.cs
WalletWasabi.Tests/ModelTests.cs
@@ -63,7 +63,10 @@ namespace WalletWasabi.Tests
// If the txId or the index differs, equality should think it's a different coin.
var differentCoin = new SmartCoin(txId, index + 1, scriptPubKey, amount, spentOutputs, height, tx.RBF, tx.GetAnonymitySet(index + 1), label, txId);
var differentOutput = tx.Outputs[1];
- var differentSpentOutputs = new[] { new TxoRef(txId, 0) };
+ var differentSpentOutputs = new[]
+ {
+ new TxoRef(txId, 0)
+ };
// If the txId and the index is the same, equality should think it's the same coin.
var sameCoin = new SmartCoin(txId, index, differentOutput.ScriptPubKey, differentOutput.Value, differentSpentOutputs, Height.Unknown, tx.RBF, tx.GetAnonymitySet(index), "boo", null);

Put back brackets in different lines