diff --git a/CyberBits/Views/MainWindow.axaml b/CyberBits/Views/MainWindow.axaml index ff1eee9..881c106 100644 --- a/CyberBits/Views/MainWindow.axaml +++ b/CyberBits/Views/MainWindow.axaml @@ -1,10 +1,10 @@ - + @@ -22,72 +22,76 @@ WindowDecorationProperties.ElementRole="TitleBar"> + Text="CyberBits"> + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/CyberBits/Views/MainWindow.axaml.cs b/CyberBits/Views/MainWindow.axaml.cs index 525f0fc..1f79b8f 100644 --- a/CyberBits/Views/MainWindow.axaml.cs +++ b/CyberBits/Views/MainWindow.axaml.cs @@ -6,7 +6,7 @@ namespace CyberBits.Views; public partial class MainWindow : Window { - private string? AppPath => Path.GetDirectoryName(Assembly.GetAssembly(typeof(MainWindow))?.Location); + private static string? AppPath => Path.GetDirectoryName(Assembly.GetAssembly(typeof(MainWindow))?.Location); public MainWindow() @@ -18,11 +18,10 @@ public partial class MainWindow : Window var commonFile = File.ReadAllText($"{AppPath}//{DataFiles.COMMON_JSON}"); var commonData = JsonSerializer.Deserialize(commonFile); - PubesItems.ItemsSource = commonData?.Pubes; + /*PubesItems.ItemsSource = commonData?.Pubes; CyberwareItems.ItemsSource = commonData?.Cyberware; AestheticsItems.ItemsSource = commonData?.Aesthetic; - ButtOptions.ItemsSource = commonData?.Butt; - + ButtOptions.ItemsSource = commonData?.Butt;*/ } catch (Exception e) { @@ -35,12 +34,10 @@ public partial class MainWindow : Window #else VersionBox.Text = AppConsts.VERSION; #endif - } private void GenitalSwap(string image, string data) { - try { var genitalFile = File.ReadAllText($"{AppPath}//{data}"); @@ -56,7 +53,6 @@ public partial class MainWindow : Window Console.WriteLine(e); throw; } - } private void SelectedBitsControl_OnSelectionChanged(object? sender, SelectionChangedEventArgs e)