Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,7 @@ jobs:

if: github.repository_owner == 'files-community'

runs-on: ubuntu-latest
defaults:
run:
shell: pwsh
runs-on: windows-latest

steps:

Expand All @@ -62,10 +59,8 @@ jobs:
fetch-depth: 2
- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json

- name: Install XamlStyler console
- name: Install XamlStyler.Console
run: 'dotnet tool install --global XamlStyler.Console'

- name: Check XAML formatting
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/format-xaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@ on:
jobs:
format-xaml:
if: github.event.issue.pull_request && github.event.comment.body == '/format'
runs-on: ubuntu-latest
runs-on: windows-latest
environment: Pull Requests
defaults:
run:
shell: pwsh
permissions:
contents: write

Expand Down Expand Up @@ -48,8 +45,6 @@ jobs:

- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json

- name: Set git identity
if: env.CAN_RUN == 1
Expand Down Expand Up @@ -79,7 +74,7 @@ jobs:
"CAN_RUN=0" | Out-File -FilePath $env:GITHUB_ENV -Append
}

- name: Install Xaml Styler
- name: Install XamlStyler.Console
if: env.CAN_RUN == 1
run: dotnet tool install --global XamlStyler.Console

Expand Down
4 changes: 0 additions & 4 deletions src/Files.App/Views/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,8 @@
<ResourceDictionary Source="ms-appx:///Styles/DefaultGridSplitterStyle.xaml" />
</ResourceDictionary.MergedDictionaries>

<x:Boolean x:Key="True">True</x:Boolean>
<x:Boolean x:Key="False">False</x:Boolean>

<wctconverters:BoolNegationConverter x:Key="BoolNegationConverter" />


<MenuFlyout x:Key="SidebarContextMenu">
<ToggleMenuFlyoutItem IsChecked="{x:Bind SidebarAdaptiveViewModel.ShowPinnedFoldersSection, Mode=TwoWay}" Text="{helpers:ResourceString Name=Pinned}" />
<ToggleMenuFlyoutItem IsChecked="{x:Bind SidebarAdaptiveViewModel.ShowLibrarySection, Mode=TwoWay}" Text="{helpers:ResourceString Name=SidebarLibraries}" />
Expand Down