Skip to content

Commit 6f17aa2

Browse files
committed
Resolve conflicts
1 parent b8acead commit 6f17aa2

File tree

4 files changed

+12
-49
lines changed

4 files changed

+12
-49
lines changed

Plugins/Flow.Launcher.Plugin.Url/Main.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ public List<Result> Query(Query query)
9797
return [];
9898
}
9999

100-
private string GetHttpPreference()
100+
private static string GetHttpPreference()
101101
{
102-
return _settings.AlwaysOpenWithHttps ? "https" : "http";
102+
return Settings.AlwaysOpenWithHttps ? "https" : "http";
103103
}
104104

105105
public bool IsURL(string raw)
@@ -138,7 +138,7 @@ public string GetTranslatedPluginDescription()
138138

139139
public Control CreateSettingPanel()
140140
{
141-
return new URLSettings(_settings);
141+
return new SettingsControl();
142142
}
143143
}
144144
}

Plugins/Flow.Launcher.Plugin.Url/SettingsControl.xaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<Grid.RowDefinitions>
2020
<RowDefinition Height="auto" />
2121
<RowDefinition Height="auto" />
22+
<RowDefinition Height="auto" />
2223
</Grid.RowDefinitions>
2324

2425
<CheckBox
@@ -113,5 +114,13 @@
113114
IsChecked="{Binding Settings.OpenInPrivateMode, Mode=TwoWay}" />
114115
</Grid>
115116
</Grid>
117+
118+
<CheckBox
119+
Grid.Row="2"
120+
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
121+
HorizontalAlignment="Left"
122+
VerticalAlignment="Center"
123+
Content="{DynamicResource flowlauncher_plugin_url_usehttps}"
124+
IsChecked="{Binding Settings.AlwaysOpenWithHttps, Mode=TwoWay}" />
116125
</Grid>
117126
</UserControl>

Plugins/Flow.Launcher.Plugin.Url/URLSettings.xaml

Lines changed: 0 additions & 31 deletions
This file was deleted.

Plugins/Flow.Launcher.Plugin.Url/URLSettings.xaml.cs

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)