Skip to content

Commit 4607303

Browse files
authored
Feature: Updated the cloud status icon for Columns Layout (#14520)
1 parent 6df019f commit 4607303

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/Files.App/Views/Layouts/ColumnLayoutPage.xaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -299,16 +299,16 @@
299299

300300
<Grid Grid.Column="2">
301301
<StackPanel Orientation="Horizontal" Spacing="4">
302-
303302
<!-- Cloud Status -->
304-
<FontIcon
303+
<uc:OpacityIcon
305304
x:Name="CloudDriveSyncStatusGlyph"
305+
Width="16"
306+
Height="16"
306307
HorizontalAlignment="Center"
307308
VerticalAlignment="Center"
309+
x:Load="{x:Bind ((cloud:CloudDriveSyncStatusUI)SyncStatusUI).LoadSyncStatus, Mode=OneWay}"
308310
x:Phase="2"
309-
FontSize="12"
310-
Glyph="{x:Bind ((cloud:CloudDriveSyncStatusUI)SyncStatusUI).Glyph, Mode=OneWay}"
311-
Visibility="{x:Bind ((cloud:CloudDriveSyncStatusUI)SyncStatusUI).LoadSyncStatus, Mode=OneWay}" />
311+
Style="{x:Bind ((cloud:CloudDriveSyncStatusUI)SyncStatusUI).OpacityIcon, Mode=OneWay}" />
312312

313313
<!-- Tag -->
314314
<Ellipse

src/Files.App/Views/Layouts/GridLayoutPage.xaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -416,16 +416,16 @@
416416

417417
<Grid Grid.Column="2">
418418
<StackPanel Orientation="Horizontal" Spacing="4">
419-
420419
<!-- Cloud Status -->
421-
<FontIcon
420+
<uc:OpacityIcon
422421
x:Name="CloudDriveSyncStatusGlyph"
422+
Width="16"
423+
Height="16"
423424
HorizontalAlignment="Center"
424425
VerticalAlignment="Center"
426+
x:Load="{x:Bind ((cloud:CloudDriveSyncStatusUI)SyncStatusUI).LoadSyncStatus, Mode=OneWay}"
425427
x:Phase="2"
426-
FontSize="12"
427-
Glyph="{x:Bind ((cloud:CloudDriveSyncStatusUI)SyncStatusUI).Glyph, Mode=OneWay}"
428-
Visibility="{x:Bind ((cloud:CloudDriveSyncStatusUI)SyncStatusUI).LoadSyncStatus, Mode=OneWay}" />
428+
Style="{x:Bind ((cloud:CloudDriveSyncStatusUI)SyncStatusUI).OpacityIcon, Mode=OneWay}" />
429429

430430
<!-- Tag -->
431431
<Ellipse

0 commit comments

Comments
 (0)