Skip to content

Commit a3e026e

Browse files
committed
fallback
1 parent 8c3a1ce commit a3e026e

2 files changed

Lines changed: 0 additions & 23 deletions

File tree

Initialize/xaml.ps1

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -170,23 +170,6 @@ try {
170170
$tweaksData = $tTask.Result | ConvertFrom-Json
171171
# $localsUrl = $lTask.Result | ConvertFrom-Json
172172

173-
foreach ($app in $appsData)
174-
{
175-
if ($app.link)
176-
{
177-
$app | Add-Member -Force NoteProperty Icon (
178-
"https://www.google.com/s2/favicons?sz=64&domain_url=$([Uri]::EscapeDataString($app.link))"
179-
)
180-
181-
$app | Add-Member -Force NoteProperty IconVisibility "Visible"
182-
}
183-
else
184-
{
185-
$app | Add-Member -Force NoteProperty Icon ""
186-
$app | Add-Member -Force NoteProperty IconVisibility "Collapsed"
187-
}
188-
}
189-
190173
if ($appsData -and $tweaksData) {
191174
$itt.AppsListView.ItemsSource = $appsData
192175
$itt.TweaksListView.ItemsSource = $tweaksData

xaml/Controls/Tabs.xaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,6 @@
177177

178178
<StackPanel Orientation="Horizontal">
179179

180-
<Image Name="AppIcon" Source="{Binding Icon}"
181-
Visibility="{Binding IconVisibility}"
182-
Width="30"
183-
Height="30"
184-
Margin="0,0,8,0"/>
185-
186180
<TextBlock Text="{Binding Content}"
187181
VerticalAlignment="Center"
188182
FontSize="14"

0 commit comments

Comments
 (0)