Formatting
This commit is contained in:
parent
d31b2a1b65
commit
9359950666
@ -21,6 +21,14 @@ namespace LibationAvalonia.Dialogs
|
|||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public UpgradeNotification(Version version, string packageUrl, string zipFileName) : this()
|
||||||
|
{
|
||||||
|
VersionText = $"Libation version {version.ToString(3)} is now available.";
|
||||||
|
PackageUrl = packageUrl;
|
||||||
|
DownloadLinkText = $"Download {zipFileName}";
|
||||||
|
DataContext = this;
|
||||||
|
}
|
||||||
|
|
||||||
public void OK_Click(object sender, Avalonia.Interactivity.RoutedEventArgs e) => Close(DialogResult.OK);
|
public void OK_Click(object sender, Avalonia.Interactivity.RoutedEventArgs e) => Close(DialogResult.OK);
|
||||||
public void DontRemind_Click(object sender, Avalonia.Interactivity.RoutedEventArgs e) => Close(DialogResult.Ignore);
|
public void DontRemind_Click(object sender, Avalonia.Interactivity.RoutedEventArgs e) => Close(DialogResult.Ignore);
|
||||||
public void Download_Tapped(object sender, Avalonia.Input.TappedEventArgs e)
|
public void Download_Tapped(object sender, Avalonia.Input.TappedEventArgs e)
|
||||||
@ -29,13 +37,5 @@ namespace LibationAvalonia.Dialogs
|
|||||||
=> Go.To.Url("ht" + "tps://getlibation.com");
|
=> Go.To.Url("ht" + "tps://getlibation.com");
|
||||||
public void Github_Tapped(object sender, Avalonia.Input.TappedEventArgs e)
|
public void Github_Tapped(object sender, Avalonia.Input.TappedEventArgs e)
|
||||||
=> Go.To.Url("ht" + "tps://github.com/rmcrackan/Libation");
|
=> Go.To.Url("ht" + "tps://github.com/rmcrackan/Libation");
|
||||||
|
|
||||||
public UpgradeNotification(Version version, string packageUrl, string zipFileName) : this()
|
|
||||||
{
|
|
||||||
VersionText = $"Libation version {version.ToString(3)} is now available.";
|
|
||||||
PackageUrl = packageUrl;
|
|
||||||
DownloadLinkText = $"Download {zipFileName}";
|
|
||||||
DataContext = this;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -45,7 +45,7 @@ namespace LibationAvalonia.Views
|
|||||||
Configure_Export();
|
Configure_Export();
|
||||||
Configure_Settings();
|
Configure_Settings();
|
||||||
Configure_ProcessQueue();
|
Configure_ProcessQueue();
|
||||||
#if DEBUG
|
#if !DEBUG
|
||||||
Configure_Update();
|
Configure_Update();
|
||||||
#endif
|
#endif
|
||||||
Configure_Filter();
|
Configure_Filter();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user