Skip to content

Commit 16c1ced

Browse files
Merge branch 'feature_open_in_ide' of https://github.com/ferrariofilippo/Files into feature_open_in_ide
2 parents 98f6892 + ac56666 commit 16c1ced

File tree

18 files changed

+61
-58
lines changed

18 files changed

+61
-58
lines changed

Directory.Build.props

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
<TargetWindowsVersion>10.0.22621.0</TargetWindowsVersion>
66
<MinimalWindowsVersion>10.0.19041.0</MinimalWindowsVersion>
77
<WindowsSdkPackageVersion>10.0.22621.57</WindowsSdkPackageVersion>
8+
<WindowsTargetFramework>$(TargetFrameworkVersion)-windows$(TargetWindowsVersion)</WindowsTargetFramework>
89
</PropertyGroup>
9-
</Project>
10+
</Project>

src/Files.App.BackgroundTasks/Files.App.BackgroundTasks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33

44
<PropertyGroup>
5-
<TargetFramework>$(TargetFrameworkVersion)-windows$(TargetWindowsVersion)</TargetFramework>
5+
<TargetFramework>$(WindowsTargetFramework)</TargetFramework>
66
<DefaultLanguage>en-US</DefaultLanguage>
77
<TargetPlatformMinVersion>$(MinimalWindowsVersion)</TargetPlatformMinVersion>
88
<IsTrimmable>true</IsTrimmable>

src/Files.App.Controls/BladeView/BladeItem.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ public BladeItem()
3737
protected override void OnApplyTemplate()
3838
{
3939
_loaded = true;
40-
base.OnApplyTemplate();
4140

4241
_closeButton = GetTemplateChild("CloseButton") as Button;
4342
_enlargeButton = GetTemplateChild("EnlargeButton") as Button;
@@ -66,10 +65,9 @@ private void OnExpanding(Expander sender, ExpanderExpandingEventArgs args)
6665
{
6766
Width = _normalModeWidth;
6867
VisualStateManager.GoToState(this, "Expanded", true);
69-
var name = "WCT_BladeView_ExpandButton_Collapsed".GetLocalized("CommunityToolkit.WinUI.UI.Controls.Layout/Resources");
7068
if (_enlargeButton != null)
7169
{
72-
AutomationProperties.SetName(_enlargeButton, name);
70+
AutomationProperties.SetName(_enlargeButton, "Expand Blade Item");
7371
}
7472
}
7573
}
@@ -80,11 +78,9 @@ private void OnCollapsed(Expander sender, ExpanderCollapsedEventArgs args)
8078
if (_loaded)
8179
{
8280
Width = double.NaN;
83-
VisualStateManager.GoToState(this, "Collapsed", true);
84-
var name = "WCT_BladeView_ExpandButton_Expanded".GetLocalized("CommunityToolkit.WinUI.UI.Controls.Layout/Resources");
8581
if (_enlargeButton != null)
8682
{
87-
AutomationProperties.SetName(_enlargeButton, name);
83+
AutomationProperties.SetName(_enlargeButton, "Collapse Blade Item");
8884
}
8985
}
9086
}

src/Files.App.Controls/Files.App.Controls.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33

44
<PropertyGroup>
5-
<TargetFramework>$(TargetFrameworkVersion)-windows$(TargetWindowsVersion)</TargetFramework>
5+
<TargetFramework>$(WindowsTargetFramework)</TargetFramework>
66
<TargetPlatformMinVersion>$(MinimalWindowsVersion)</TargetPlatformMinVersion>
77
<UseWinUI>true</UseWinUI>
88
<Nullable>enable</Nullable>

src/Files.App.Controls/GridSplitter/GridSplitter.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,7 @@ public GridSplitter()
161161
{
162162
DefaultStyleKey = typeof(GridSplitter);
163163
Loaded += GridSplitter_Loaded;
164-
string automationName = CommunityToolkit.WinUI.StringExtensions.GetLocalized("WCT_GridSplitter_AutomationName", "CommunityToolkit.WinUI.UI.Controls.Layout/Resources");
165-
AutomationProperties.SetName(this, automationName);
164+
AutomationProperties.SetName(this, "Grid Splitter");
166165
}
167166

168167
/// <inheritdoc />

src/Files.App.CsWin32/Files.App.CsWin32.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33

44
<PropertyGroup>
5-
<TargetFramework>$(TargetFrameworkVersion)-windows$(TargetWindowsVersion)</TargetFramework>
5+
<TargetFramework>$(WindowsTargetFramework)</TargetFramework>
66
<TargetPlatformMinVersion>$(MinimalWindowsVersion)</TargetPlatformMinVersion>
77
<Nullable>enable</Nullable>
88
<IsTrimmable>true</IsTrimmable>

src/Files.App.Server/Files.App.Server.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<DefaultLanguage>en-US</DefaultLanguage>
77
<AppxBundleAutoResourcePackageQualifiers>Scale|DXFeatureLevel</AppxBundleAutoResourcePackageQualifiers>
88
<AppxDefaultResourceQualifiers>Language=en-US;af;ar;be-BY;bg;ca;cs-CZ;da;de-DE;el;en-GB;es-ES;es-419;fa-IR;fi-FI;fil-PH;fr-FR;he-IL;hi-IN;hr-HR;hu-HU;id-ID;it-IT;ja-JP;ka;km-KH;ko-KR;lt-LT;lv-LV;ms-MY;nb-NO;nl-NL;pl-PL;pt-BR;pt-PT;ro-RO;ru-RU;sk-SK;sq-AL;sr-Cyrl;sv-SE;ta;th-TH;tr-TR;uk-UA;vi;zh-Hans;zh-Hant</AppxDefaultResourceQualifiers>
9-
<TargetFramework>$(TargetFrameworkVersion)-windows$(TargetWindowsVersion)</TargetFramework>
9+
<TargetFramework>$(WindowsTargetFramework)</TargetFramework>
1010
<TargetPlatformMinVersion>$(MinimalWindowsVersion)</TargetPlatformMinVersion>
1111
<ImplicitUsings>enable</ImplicitUsings>
1212
<Nullable>enable</Nullable>

src/Files.App.Storage/Files.App.Storage.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33

44
<PropertyGroup>
5-
<TargetFramework>$(TargetFrameworkVersion)-windows$(TargetWindowsVersion)</TargetFramework>
5+
<TargetFramework>$(WindowsTargetFramework)</TargetFramework>
66
<TargetPlatformMinVersion>$(MinimalWindowsVersion)</TargetPlatformMinVersion>
77
<Nullable>enable</Nullable>
88
<IsTrimmable>true</IsTrimmable>

src/Files.App/Data/Items/WidgetFileTagsContainerItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public WidgetFileTagsContainerItem(string tagUid)
5959
/// <inheritdoc/>
6060
public async Task InitAsync(CancellationToken cancellationToken = default)
6161
{
62-
await foreach (var item in FileTagsService.GetItemsForTagAsync(_tagUid))
62+
await foreach (var item in FileTagsService.GetItemsForTagAsync(_tagUid, cancellationToken))
6363
{
6464
var icon = await ImageService.GetIconAsync(item.Storable, default);
6565
Tags.Add(new(item.Storable, icon));

src/Files.App/Files.App.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33

44
<PropertyGroup>
5-
<TargetFramework>$(TargetFrameworkVersion)-windows$(TargetWindowsVersion)</TargetFramework>
5+
<TargetFramework>$(WindowsTargetFramework)</TargetFramework>
66
<OutputType>WinExe</OutputType>
77
<AssemblyName>Files</AssemblyName>
88
<DefaultLanguage>en-US</DefaultLanguage>

0 commit comments

Comments
 (0)