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
2 changes: 1 addition & 1 deletion .github/workflows/cd-store-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
path: ${{ env.ARTIFACTS_STAGING_DIR }}

- name: Publish the packages to Microsoft Store
uses: isaacrlevin/windows-store-action@1.0
uses: files-community/windows-store-action@1.1
with:
app-id: '9NSQD9PKV3SS'
tenant-id: ${{ secrets.STORE_TENANT_ID }}
Expand Down
4 changes: 2 additions & 2 deletions src/Files.App/ViewModels/Properties/BasePropertiesPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ protected override void OnNavigatedTo(NavigationEventArgs e)
var props = new DriveProperties(ViewModel, drive, AppInstance);
BaseProperties = props;

ViewModel.CleanupVisibility = props.Drive.Type != DriveType.Network;
ViewModel.FormatVisibility = !(props.Drive.Type == DriveType.Network || string.Equals(props.Drive.Path, $@"{Constants.UserEnvironmentPaths.SystemDrivePath}\", StringComparison.OrdinalIgnoreCase));
ViewModel.CleanupVisibility = props.Drive.Type != DriveType.Network && props.Drive.Type != DriveType.CloudDrive;
ViewModel.FormatVisibility = !(props.Drive.Type == DriveType.Network || props.Drive.Type == DriveType.CloudDrive || string.Equals(props.Drive.Path, $@"{Constants.UserEnvironmentPaths.SystemDrivePath}\", StringComparison.OrdinalIgnoreCase));
ViewModel.CleanupDriveCommand = new AsyncRelayCommand(() => StorageSenseHelper.OpenStorageSenseAsync(props.Drive.Path));
ViewModel.FormatDriveCommand = new RelayCommand(async () =>
{
Expand Down
Loading