From 5578daaa3eeb0875c7d301a5e7d27bafbad1b6d2 Mon Sep 17 00:00:00 2001
From: Jack251970 <1160210343@qq.com>
Date: Wed, 21 May 2025 18:25:33 +0800
Subject: [PATCH] Remove files tip button
---
Flow.Launcher/Languages/en.xaml | 2 -
Flow.Launcher/SelectFileManagerWindow.xaml | 19 +++------
.../ViewModel/SelectFileManagerViewModel.cs | 41 -------------------
3 files changed, 5 insertions(+), 57 deletions(-)
diff --git a/Flow.Launcher/Languages/en.xaml b/Flow.Launcher/Languages/en.xaml
index 1b72d9045..c58c63a5e 100644
--- a/Flow.Launcher/Languages/en.xaml
+++ b/Flow.Launcher/Languages/en.xaml
@@ -366,9 +366,7 @@
Select File Manager
- Do you use Files?Learn more
- Depending on the version, Files may use either "Files" or "Files-stable" as its path. (This can vary depending on which version you're using.) For more details, see:Please specify the file location of the file manager you using and add arguments as required. The "%d" represents the directory path to open for, used by the Arg for Folder field and for commands opening specific directories. The "%f" represents the file path to open for, used by the Arg for File field and for commands opening specific files.For example, if the file manager uses a command such as "totalcmd.exe /A c:\windows" to open the c:\windows directory, the File Manager Path will be totalcmd.exe, and the Arg For Folder will be /A "%d". Certain file managers like QTTabBar may just require a path to be supplied, in this instance use "%d" as the File Manager Path and leave the rest of the fileds blank.File Manager
diff --git a/Flow.Launcher/SelectFileManagerWindow.xaml b/Flow.Launcher/SelectFileManagerWindow.xaml
index ecd4a282a..b3b219d1c 100644
--- a/Flow.Launcher/SelectFileManagerWindow.xaml
+++ b/Flow.Launcher/SelectFileManagerWindow.xaml
@@ -74,20 +74,11 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
- {
- App.API.OpenUrl(args.Uri.AbsoluteUri);
- args.Handled = true;
- };
-
- textBlock.Inlines.Add(hyperlink);
-
- var tipsDialog = new ContentDialog()
- {
- Owner = Window.GetWindow(button),
- Title = (string)Application.Current.Resources["fileManager_files_btn"],
- Content = textBlock,
- PrimaryButtonText = (string)Application.Current.Resources["commonOK"],
- CornerRadius = new CornerRadius(8),
- Style = (Style)Application.Current.Resources["ContentDialog"]
- };
-
- await tipsDialog.ShowAsync();
- }
-
[RelayCommand]
private void Add()
{