<commit_before>using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Markup.Xaml;
using WalletWasabi.Gui.ViewModels;

namespace WalletWasabi.Gui
{
	public class App : Application
	{
		public App()
		{
			Name = "Wasabi Wallet";
		}

		public override void Initialize()
		{
			AvaloniaXamlLoader.Load(this);
		}

		public void SetDataContext (Global global)
		{
			DataContext = new ApplicationViewModel(global);
		}

		public override void OnFrameworkInitializationCompleted()
		{
			if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
			{
				desktop.MainWindow = new MainWindow()
				{<commit_msg>format<commit_after>using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Markup.Xaml;
using WalletWasabi.Gui.ViewModels;

namespace WalletWasabi.Gui
{
	public class App : Application
	{
		public App()
		{
			Name = "Wasabi Wallet";
		}

		public override void Initialize()
		{
			AvaloniaXamlLoader.Load(this);
		}

		public void SetDataContext(Global global)
		{
			DataContext = new ApplicationViewModel(global);
		}

		public override void OnFrameworkInitializationCompleted()
		{
			if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
			{
				desktop.MainWindow = new MainWindow()
				{
{'fraction_non_alphanumeric': 0.08087091757387248, 'fraction_numerical': 0.0, 'mean_word_length': 4.453389830508475, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3280980', 'n_tokens_mistral': 457, 'n_tokens_neox': 388, 'n_words': 87}