Skip to content

Commit 2bc668d

Browse files
committed
Resolve merge conflicts
1 parent e2d70fb commit 2bc668d

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

Files/ProHome.xaml.cs

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -113,34 +113,34 @@ private void Page_Loaded(object sender, RoutedEventArgs e)
113113
LocationsList.SelectedItem = App.sideBarItems[0];
114114
break;
115115
case "Desktop":
116-
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), App.DesktopPath, new SuppressNavigationTransitionInfo());
117-
LocationsList.SelectedItem = App.sideBarItems.First(x => x.Path.Equals(App.DesktopPath, StringComparison.OrdinalIgnoreCase));
116+
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), App.AppSettings.DesktopPath, new SuppressNavigationTransitionInfo());
117+
LocationsList.SelectedItem = App.sideBarItems.First(x => x.Path.Equals(App.AppSettings.DesktopPath, StringComparison.OrdinalIgnoreCase));
118118
break;
119119
case "Downloads":
120-
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), App.DownloadsPath, new SuppressNavigationTransitionInfo());
121-
LocationsList.SelectedItem = App.sideBarItems.First(x => x.Path.Equals(App.DownloadsPath, StringComparison.OrdinalIgnoreCase));
120+
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), App.AppSettings.DownloadsPath, new SuppressNavigationTransitionInfo());
121+
LocationsList.SelectedItem = App.sideBarItems.First(x => x.Path.Equals(App.AppSettings.DownloadsPath, StringComparison.OrdinalIgnoreCase));
122122
break;
123123
case "Documents":
124-
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), App.DocumentsPath, new SuppressNavigationTransitionInfo());
125-
LocationsList.SelectedItem = App.sideBarItems.First(x => x.Path.Equals(App.DocumentsPath, StringComparison.OrdinalIgnoreCase));
124+
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), App.AppSettings.DocumentsPath, new SuppressNavigationTransitionInfo());
125+
LocationsList.SelectedItem = App.sideBarItems.First(x => x.Path.Equals(App.AppSettings.DocumentsPath, StringComparison.OrdinalIgnoreCase));
126126
break;
127127
case "Pictures":
128-
ItemDisplayFrame.Navigate(typeof(PhotoAlbum), App.PicturesPath, new SuppressNavigationTransitionInfo());
129-
LocationsList.SelectedItem = App.sideBarItems.First(x => x.Path.Equals(App.PicturesPath, StringComparison.OrdinalIgnoreCase));
128+
ItemDisplayFrame.Navigate(typeof(PhotoAlbum), App.AppSettings.PicturesPath, new SuppressNavigationTransitionInfo());
129+
LocationsList.SelectedItem = App.sideBarItems.First(x => x.Path.Equals(App.AppSettings.PicturesPath, StringComparison.OrdinalIgnoreCase));
130130
break;
131131
case "Music":
132-
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), App.MusicPath, new SuppressNavigationTransitionInfo());
133-
LocationsList.SelectedItem = App.sideBarItems.First(x => x.Path.Equals(App.MusicPath, StringComparison.OrdinalIgnoreCase));
132+
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), App.AppSettings.MusicPath, new SuppressNavigationTransitionInfo());
133+
LocationsList.SelectedItem = App.sideBarItems.First(x => x.Path.Equals(App.AppSettings.MusicPath, StringComparison.OrdinalIgnoreCase));
134134
break;
135135
case "Videos":
136-
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), App.VideosPath, new SuppressNavigationTransitionInfo());
137-
LocationsList.SelectedItem = App.sideBarItems.First(x => x.Path.Equals(App.VideosPath, StringComparison.OrdinalIgnoreCase));
136+
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), App.AppSettings.VideosPath, new SuppressNavigationTransitionInfo());
137+
LocationsList.SelectedItem = App.sideBarItems.First(x => x.Path.Equals(App.AppSettings.VideosPath, StringComparison.OrdinalIgnoreCase));
138138
break;
139139

140140
default:
141141
if (NavParams.Contains("C:", StringComparison.OrdinalIgnoreCase))
142142
{
143-
DrivesList.SelectedItem = App.foundDrives.First(x => x.tag.ToString().Equals("C:\\", StringComparison.OrdinalIgnoreCase));
143+
DrivesList.SelectedItem = SettingsViewModel.foundDrives.First(x => x.tag.ToString().Equals("C:\\", StringComparison.OrdinalIgnoreCase));
144144
}
145145
else
146146
{
@@ -224,47 +224,47 @@ private void LocationsList_ItemInvoked(Microsoft.UI.Xaml.Controls.NavigationView
224224
LayoutItems.isEnabled = false;
225225
break;
226226
case "Desktop":
227-
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), App.DesktopPath, new SuppressNavigationTransitionInfo());
227+
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), App.AppSettings.DesktopPath, new SuppressNavigationTransitionInfo());
228228
PathText.Text = "Desktop";
229229
HomeItems.isEnabled = false;
230230
ShareItems.isEnabled = false;
231231

232232
LayoutItems.isEnabled = true;
233233
break;
234234
case "Downloads":
235-
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), App.DownloadsPath, new SuppressNavigationTransitionInfo());
235+
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), App.AppSettings.DownloadsPath, new SuppressNavigationTransitionInfo());
236236
PathText.Text = "Downloads";
237237
HomeItems.isEnabled = false;
238238
ShareItems.isEnabled = false;
239239

240240
LayoutItems.isEnabled = true;
241241
break;
242242
case "Documents":
243-
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), App.DocumentsPath, new SuppressNavigationTransitionInfo());
243+
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), App.AppSettings.DocumentsPath, new SuppressNavigationTransitionInfo());
244244
PathText.Text = "Documents";
245245
HomeItems.isEnabled = false;
246246
ShareItems.isEnabled = false;
247247

248248
LayoutItems.isEnabled = true;
249249
break;
250250
case "Pictures":
251-
ItemDisplayFrame.Navigate(typeof(PhotoAlbum), App.PicturesPath, new SuppressNavigationTransitionInfo());
251+
ItemDisplayFrame.Navigate(typeof(PhotoAlbum), App.AppSettings.PicturesPath, new SuppressNavigationTransitionInfo());
252252
PathText.Text = "Pictures";
253253
HomeItems.isEnabled = false;
254254
ShareItems.isEnabled = false;
255255

256256
LayoutItems.isEnabled = true;
257257
break;
258258
case "Music":
259-
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), App.MusicPath, new SuppressNavigationTransitionInfo());
259+
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), App.AppSettings.MusicPath, new SuppressNavigationTransitionInfo());
260260
PathText.Text = "Music";
261261
HomeItems.isEnabled = false;
262262
ShareItems.isEnabled = false;
263263

264264
LayoutItems.isEnabled = true;
265265
break;
266266
case "Videos":
267-
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), App.VideosPath, new SuppressNavigationTransitionInfo());
267+
ItemDisplayFrame.Navigate(typeof(GenericFileBrowser), App.AppSettings.VideosPath, new SuppressNavigationTransitionInfo());
268268
PathText.Text = "Videos";
269269
HomeItems.isEnabled = false;
270270
ShareItems.isEnabled = false;

Files/SettingsPages/Appearance.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
namespace Files.SettingsPages
1212
{
13-
public sealed partial class Personalization : Page
13+
public sealed partial class Appearance : Page
1414
{
15-
public Personalization()
15+
public Appearance()
1616
{
1717
InitializeComponent();
1818

0 commit comments

Comments
 (0)