diff --git a/src/Views/Repository.axaml b/src/Views/Repository.axaml
index 5a3b9d52..9731da6f 100644
--- a/src/Views/Repository.axaml
+++ b/src/Views/Repository.axaml
@@ -395,12 +395,17 @@
Classes="icon_button"
Width="14"
Margin="8,0"
- Click="UpdateSubmodules"
+ Command="{Binding UpdateSubmodules}"
IsVisible="{Binding Submodules, Converter={x:Static c:ListConverters.IsNotNullOrEmpty}}"
ToolTip.Tip="{DynamicResource Text.Repository.Submodules.Update}">
-