Skip to content
Open
Show file tree
Hide file tree
Changes from all 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 src/Resources/Locales/ca_ES.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@
<x:String x:Key="Text.Welcome.OpenOrInit" xml:space="preserve">Obre el repositori</x:String>
<x:String x:Key="Text.Welcome.OpenTerminal" xml:space="preserve">Obre el terminal</x:String>
<x:String x:Key="Text.Welcome.ScanDefaultCloneDir" xml:space="preserve">Torna a escanejar els repositoris al directori de clonació per defecte</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Cerca repositoris...</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Cerca, carrega o obre repositoris</x:String>
<x:String x:Key="Text.WorkingCopy" xml:space="preserve">Canvis locals</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore" xml:space="preserve">Git Ignore</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore.Extension" xml:space="preserve">Ignora tots els fitxers *{0}</x:String>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/Locales/de_DE.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ $1, $2, … Werte der Eingabe-Steuerelemente</x:String>
<x:String x:Key="Text.Welcome.OpenOrInit" xml:space="preserve">Öffne Repository</x:String>
<x:String x:Key="Text.Welcome.OpenTerminal" xml:space="preserve">Öffne Terminal</x:String>
<x:String x:Key="Text.Welcome.ScanDefaultCloneDir" xml:space="preserve">Standard Klon-Ordner erneut nach Repositorys durchsuchen</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Suche Repositorys…</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Repositorys suchen, laden oder öffnen</x:String>
<x:String x:Key="Text.WorkingCopy" xml:space="preserve">ÄNDERUNGEN</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore" xml:space="preserve">Git Ignore</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore.Extension" xml:space="preserve">Ignoriere alle *{0} Dateien</x:String>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/Locales/el_GR.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@
<x:String x:Key="Text.Welcome.OpenOrInit" xml:space="preserve">Άνοιγμα αποθετηρίου</x:String>
<x:String x:Key="Text.Welcome.OpenTerminal" xml:space="preserve">Άνοιγμα τερματικού</x:String>
<x:String x:Key="Text.Welcome.ScanDefaultCloneDir" xml:space="preserve">Επανασάρωση αποθετηρίων στον προεπιλεγμένο φάκελο κλωνοποίησης</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Αναζήτηση αποθετηρίων...</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Αναζήτηση, φόρτωση ή άνοιγμα αποθετηρίων</x:String>
<x:String x:Key="Text.WorkingCopy" xml:space="preserve">ΤΟΠΙΚΕΣ ΑΛΛΑΓΕΣ</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore" xml:space="preserve">Git Ignore</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore.Extension" xml:space="preserve">Αγνόηση όλων των αρχείων *{0}</x:String>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/Locales/en_US.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ Manually add a branch/tag history filter will disable this feature automatically
<x:String x:Key="Text.Welcome.OpenTerminal" xml:space="preserve">Open Terminal</x:String>
<x:String x:Key="Text.Welcome.RefreshStatus" xml:space="preserve">Refresh Status</x:String>
<x:String x:Key="Text.Welcome.ScanDefaultCloneDir" xml:space="preserve">Rescan Repositories in Default Clone Dir</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Search Repositories...</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Search, load or open repositories</x:String>
<x:String x:Key="Text.Welcome.ToggleStatusCheck" xml:space="preserve">Check repository status when opening the Welcome page</x:String>
<x:String x:Key="Text.WorkingCopy" xml:space="preserve">Local Changes</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore" xml:space="preserve">Git Ignore</x:String>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/Locales/es_ES.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ Agregar manualmente un filtro del historial a una rama/etiqueta desactivará est
<x:String x:Key="Text.Welcome.OpenOrInit" xml:space="preserve">Abrir Repositorio</x:String>
<x:String x:Key="Text.Welcome.OpenTerminal" xml:space="preserve">Abrir Terminal</x:String>
<x:String x:Key="Text.Welcome.ScanDefaultCloneDir" xml:space="preserve">Reescanear Repositorios en el Directorio de Clonado por Defecto</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Buscar Repositorios...</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Buscar, cargar o abrir repositorios</x:String>
<x:String x:Key="Text.WorkingCopy" xml:space="preserve">Cambios</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore" xml:space="preserve">Git Ignore</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore.Extension" xml:space="preserve">Ignorar todos los archivos *{0}</x:String>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/Locales/fr_FR.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@
<x:String x:Key="Text.Welcome.OpenOrInit" xml:space="preserve">Ouvrir un dépôt</x:String>
<x:String x:Key="Text.Welcome.OpenTerminal" xml:space="preserve">Ouvrir le terminal</x:String>
<x:String x:Key="Text.Welcome.ScanDefaultCloneDir" xml:space="preserve">Réanalyser les repositories dans le dossier de clonage par défaut</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Chercher des dépôts...</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Rechercher, charger ou ouvrir des dépôts</x:String>
<x:String x:Key="Text.WorkingCopy" xml:space="preserve">Changements</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore" xml:space="preserve">Git Ignore</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore.Extension" xml:space="preserve">Ignorer tous les *{0} fichiers</x:String>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/Locales/he_IL.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@
<x:String x:Key="Text.Welcome.OpenOrInit" xml:space="preserve">פתח מאגר</x:String>
<x:String x:Key="Text.Welcome.OpenTerminal" xml:space="preserve">פתח טרמינל</x:String>
<x:String x:Key="Text.Welcome.ScanDefaultCloneDir" xml:space="preserve">סרוק מחדש של מאגרים בתיקיית ה־Clone ברירת מחדל</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">חיפוש מאגרים...</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">חיפוש, טעינה או פתיחה של מאגרים</x:String>
<x:String x:Key="Text.WorkingCopy" xml:space="preserve">שינויים מקומיים</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore" xml:space="preserve">Git Ignore</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore.Extension" xml:space="preserve">התעלמות מכל הקבצים *{0}</x:String>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/Locales/id_ID.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@
<x:String x:Key="Text.Welcome.OpenOrInit" xml:space="preserve">Buka Repositori</x:String>
<x:String x:Key="Text.Welcome.OpenTerminal" xml:space="preserve">Buka Terminal</x:String>
<x:String x:Key="Text.Welcome.ScanDefaultCloneDir" xml:space="preserve">Pindai Ulang Repositori di Direktori Clone Default</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Cari Repositori...</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Cari, muat atau buka repositori</x:String>
<x:String x:Key="Text.WorkingCopy" xml:space="preserve">PERUBAHAN LOKAL</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore" xml:space="preserve">Git Ignore</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore.Extension" xml:space="preserve">Abaikan semua berkas *{0}</x:String>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/Locales/it_IT.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ ${pure_files:N} Come ${files:N}, ma senza cartelle</x:String>
<x:String x:Key="Text.Welcome.OpenOrInit" xml:space="preserve">Apri Repository</x:String>
<x:String x:Key="Text.Welcome.OpenTerminal" xml:space="preserve">Apri Terminale</x:String>
<x:String x:Key="Text.Welcome.ScanDefaultCloneDir" xml:space="preserve">Riscansiona Repository nella Cartella Clone Predefinita</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Cerca Repository...</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Cerca, carica o apri repository</x:String>
<x:String x:Key="Text.WorkingCopy" xml:space="preserve">MODIFICHE LOCALI</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore" xml:space="preserve">Git Ignore</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore.Extension" xml:space="preserve">Ignora tutti i file *{0}</x:String>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/Locales/ja_JP.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@
<x:String x:Key="Text.Welcome.OpenOrInit" xml:space="preserve">リポジトリを開く</x:String>
<x:String x:Key="Text.Welcome.OpenTerminal" xml:space="preserve">端末を開く</x:String>
<x:String x:Key="Text.Welcome.ScanDefaultCloneDir" xml:space="preserve">既定のクローンディレクトリ内のリポジトリを再スキャン</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">リポジトリを検索...</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">リポジトリを検索、読み込み、または開く</x:String>
<x:String x:Key="Text.WorkingCopy" xml:space="preserve">ローカルの変更</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore" xml:space="preserve">無視</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore.Extension" xml:space="preserve">*{0} ファイルをすべて無視</x:String>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/Locales/ko_KR.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@
<x:String x:Key="Text.Welcome.OpenOrInit" xml:space="preserve">저장소 열기</x:String>
<x:String x:Key="Text.Welcome.OpenTerminal" xml:space="preserve">터미널 열기</x:String>
<x:String x:Key="Text.Welcome.ScanDefaultCloneDir" xml:space="preserve">기본 복제 디렉터리의 저장소 다시 스캔</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">저장소 검색...</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">저장소 검색, 불러오기 또는 열기</x:String>
<x:String x:Key="Text.WorkingCopy" xml:space="preserve">로컬 변경 사항</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore" xml:space="preserve">Git 무시</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore.Extension" xml:space="preserve">모든 *{0} 파일 무시</x:String>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/Locales/pt_BR.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@
<x:String x:Key="Text.Welcome.OpenOrInit" xml:space="preserve">Abrir Repositório</x:String>
<x:String x:Key="Text.Welcome.OpenTerminal" xml:space="preserve">Abrir Terminal</x:String>
<x:String x:Key="Text.Welcome.ScanDefaultCloneDir" xml:space="preserve">Reescanear Repositórios no Diretório de Clone Padrão</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Buscar Repositórios...</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Buscar, carregar ou abrir repositórios</x:String>
<x:String x:Key="Text.WorkingCopy" xml:space="preserve">Alterações</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore" xml:space="preserve">Git Ignore</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore.Extension" xml:space="preserve">Ignorar todos os arquivos *{0}</x:String>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/Locales/ru_RU.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@
<x:String x:Key="Text.Welcome.OpenOrInit" xml:space="preserve">Открыть репозиторий</x:String>
<x:String x:Key="Text.Welcome.OpenTerminal" xml:space="preserve">Открыть терминал</x:String>
<x:String x:Key="Text.Welcome.ScanDefaultCloneDir" xml:space="preserve">Обнаружить репозитории в каталоге клонирования по умолчанию</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Найти репозиторий...</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Найти, загрузить или открыть репозитории</x:String>
<x:String x:Key="Text.WorkingCopy" xml:space="preserve">Изменения</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore" xml:space="preserve">Игнорировать Git</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore.Extension" xml:space="preserve">Игнорировать все *{0} файлы</x:String>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/Locales/ta_IN.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@
<x:String x:Key="Text.Welcome.OpenOrInit" xml:space="preserve">களஞ்சியத்தைத் திற</x:String>
<x:String x:Key="Text.Welcome.OpenTerminal" xml:space="preserve">முனையத்தைத் திற</x:String>
<x:String x:Key="Text.Welcome.ScanDefaultCloneDir" xml:space="preserve">இயல்புநிலை நகலி அடைவில் களஞ்சியங்களை மீண்டும் வருடு</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">களஞ்சியங்களைத் தேடு...</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">களஞ்சியங்களைத் தேடு, ஏற்று அல்லது திற</x:String>
<x:String x:Key="Text.WorkingCopy" xml:space="preserve">உள்ளக மாற்றங்கள்</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore" xml:space="preserve">அறிவிலி புறக்கணி</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore.Extension" xml:space="preserve">எல்லா *{0} கோப்புகளையும் புறக்கணி</x:String>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/Locales/uk_UA.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
<x:String x:Key="Text.Welcome.OpenOrInit" xml:space="preserve">Відкрити сховище</x:String>
<x:String x:Key="Text.Welcome.OpenTerminal" xml:space="preserve">Відкрити термінал</x:String>
<x:String x:Key="Text.Welcome.ScanDefaultCloneDir" xml:space="preserve">Пересканувати сховища у теці клонування за замовчуванням</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Пошук сховищ...</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">Знайти, завантажити або відкрити сховища</x:String>
<x:String x:Key="Text.WorkingCopy" xml:space="preserve">ЛОКАЛЬНІ ЗМІНИ</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore" xml:space="preserve">Git Ignore</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore.Extension" xml:space="preserve">Ігнорувати всі файли *{0}</x:String>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/Locales/zh_CN.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@
<x:String x:Key="Text.Welcome.OpenTerminal" xml:space="preserve">打开终端</x:String>
<x:String x:Key="Text.Welcome.RefreshStatus" xml:space="preserve">刷新状态</x:String>
<x:String x:Key="Text.Welcome.ScanDefaultCloneDir" xml:space="preserve">重新扫描默认克隆路径下的仓库</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">快速查找仓库...</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">搜索、加载或打开仓库</x:String>
<x:String x:Key="Text.Welcome.ToggleStatusCheck" xml:space="preserve">打开起始页时检查仓库状态</x:String>
<x:String x:Key="Text.WorkingCopy" xml:space="preserve">本地更改</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore" xml:space="preserve">添加至 .gitignore 忽略列表</x:String>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/Locales/zh_TW.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@
<x:String x:Key="Text.Welcome.OpenTerminal" xml:space="preserve">開啟終端機</x:String>
<x:String x:Key="Text.Welcome.RefreshStatus" xml:space="preserve">重新整理狀態</x:String>
<x:String x:Key="Text.Welcome.ScanDefaultCloneDir" xml:space="preserve">重新掃描預設複製 (clone) 目錄下的存放庫</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">篩選存放庫...</x:String>
<x:String x:Key="Text.Welcome.Search" xml:space="preserve">搜尋、載入或開啟存放庫</x:String>
<x:String x:Key="Text.Welcome.ToggleStatusCheck" xml:space="preserve">開啟起始頁時檢查存放庫狀態</x:String>
<x:String x:Key="Text.WorkingCopy" xml:space="preserve">本機變更</x:String>
<x:String x:Key="Text.WorkingCopy.AddToGitIgnore" xml:space="preserve">加入至 .gitignore 忽略清單</x:String>
Expand Down
66 changes: 66 additions & 0 deletions src/ViewModels/Welcome.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Threading;
using System.Threading.Tasks;

Expand Down Expand Up @@ -164,6 +165,71 @@ public void Clone()
activePage.Popup = new Clone(activePage.Node.Id);
}

public async Task<bool> TryOpenSearchAsync(LauncherPage page, CancellationToken token)
{
var filter = SearchFilter;
var input = filter?.Trim() ?? string.Empty;
if (input.Length > 1 && input[0] == '"' && input[^1] == '"')
input = input[1..^1];

var isLocal = Directory.Exists(input);
var isRemote = Models.Remote.IsSSH(input) ||
(Uri.TryCreate(input, UriKind.Absolute, out var uri) &&
(uri.Scheme == Uri.UriSchemeHttps || uri.Scheme == Uri.UriSchemeHttp) &&
Models.Remote.IsValidURL(input));
if (!isLocal && !isRemote)
return false;

if (page == null || page.Popup != null || token.IsCancellationRequested)
return true;

if (!Preferences.Instance.IsGitConfigured())
{
Models.Notification.Send(page.Node.Id, App.Text("NotConfigured"), true);
return true;
}

if (isLocal)
{
var result = await GetRepositoryRootAsync(input);
if (token.IsCancellationRequested || SearchFilter != filter ||
App.GetLauncher().ActivePage != page || page.Popup != null)
return true;

if (!result.IsSuccess && !Models.SafeDirectories.IsUntrustedRepository(result.StdErr))
{
Models.Notification.Send(page.Node.Id, result.StdErr, true);
return true;
}

page.Popup = new OpenLocalRepository(page.Node.Id, null) { RepoPath = input };
await page.ProcessPopupAsync();
}
else
{
using var cancellation = CancellationTokenSource.CreateLinkedTokenSource(token);
cancellation.CancelAfter(TimeSpan.FromSeconds(30));
var command = new Commands.Command
{
Context = page.Node.Id,
Args = $"ls-remote -- {input.Quoted()} HEAD",
CancellationToken = cancellation.Token,
};
var valid = await command.ExecAsync();
if (cancellation.IsCancellationRequested)
{
if (!token.IsCancellationRequested)
Models.Notification.Send(page.Node.Id, "Timed out checking the remote repository.", true);
return true;
}

if (valid && SearchFilter == filter && App.GetLauncher().ActivePage == page && page.Popup == null)
page.Popup = new Clone(page.Node.Id) { Remote = input };
}

return true;
}

public void OpenLocalRepository()
{
if (!Preferences.Instance.IsGitConfigured())
Expand Down
4 changes: 2 additions & 2 deletions src/Views/Clone.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ protected override async void OnLoaded(RoutedEventArgs e)
{
base.OnLoaded(e);

if (DataContext is not ViewModels.Clone vm)
if (DataContext is not ViewModels.Clone vm || !string.IsNullOrEmpty(vm.Remote))
return;

var clipboard = TopLevel.GetTopLevel(this)?.Clipboard;
Expand All @@ -28,7 +28,7 @@ protected override async void OnLoaded(RoutedEventArgs e)
try
{
var text = await clipboard.TryGetTextAsync();
if (Models.Remote.IsValidURL(text))
if (string.IsNullOrEmpty(vm.Remote) && Models.Remote.IsValidURL(text))
vm.Remote = text;
}
catch
Expand Down
Loading