-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code Quality: Improved SetAs actions #16480
base: main
Are you sure you want to change the base?
Conversation
src/Files.App/Actions/Content/Background/SetAsLockscreenBackgroundAction.cs
Outdated
Show resolved
Hide resolved
src/Files.App/Actions/Content/Background/SetAsSlideshowBackgroundAction.cs
Outdated
Show resolved
Hide resolved
src/Files.App/Actions/Content/Background/SetAsSlideshowBackgroundAction.cs
Outdated
Show resolved
Hide resolved
src/Files.App/Actions/Content/Background/SetAsWallpaperBackgroundAction.cs
Outdated
Show resolved
Hide resolved
|
||
public override Task ExecuteAsync(object? parameter = null) | ||
{ | ||
var paths = context.SelectedItems.Select(item => item.ItemPath).ToArray(); | ||
if (!IsExecutable) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you fix this as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this per #16480 (comment)
Sounds not good to you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hishitetsu is this what you intended?
Resolved / Related Issues
Steps used to test these changes