Skip to content

Commit 08e4051

Browse files
committed
v1.1
Full migration to the MVVM The .cs and .xaml files have been moved to the folders(«Views», «ViewModels» and «Models») Actions buttons in the history were replaced by the context menu Added multiselection in the history Removed possibility to drop .txt file into the program Bug fixes Small UX improvements in the FileDialogs Architecture improvements
1 parent b482e85 commit 08e4051

31 files changed

+642
-515
lines changed

App.xaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
xmlns:local="clr-namespace:TikTokTTS"
5-
StartupUri="MainWindow.xaml"
5+
StartupUri="Views/MainWindow.xaml"
66
xmlns:sample="clr-namespace:ModernWpf.SampleApp.Common"
77
xmlns:ui="http://schemas.modernwpf.com/2019">
88
<Application.Resources>

History.cs

-76
This file was deleted.

HistoryPage.xaml

-58
This file was deleted.

HistoryPage.xaml.cs

-64
This file was deleted.

LoadingContentDialog.xaml

-18
This file was deleted.

MainPage.xaml.cs

-141
This file was deleted.

Models/History.cs

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
namespace TikTokTTS
2+
{
3+
public static class History
4+
{
5+
public static readonly HistoryViewModel ViewModel;
6+
7+
static History()
8+
{
9+
ViewModel = new HistoryViewModel(HistorySaveSystem.LoadOperations());
10+
}
11+
}
12+
}

0 commit comments

Comments
 (0)