public static void UpdateShellControl(IShellControl shell, BindableObject?bindable)
 {
     if (bindable is null)
     {
         shell.Title.Value            = string.Empty;
         shell.CanGoHome.Value        = false;
         shell.Function1Text.Value    = string.Empty;
         shell.Function2Text.Value    = string.Empty;
         shell.Function3Text.Value    = string.Empty;
         shell.Function4Text.Value    = string.Empty;
         shell.Function1Enabled.Value = false;
         shell.Function2Enabled.Value = false;
         shell.Function3Enabled.Value = false;
         shell.Function4Enabled.Value = false;
     }
     else
     {
         shell.Title.Value            = GetTitle(bindable);
         shell.CanGoHome.Value        = GetCanGoHome(bindable);
         shell.Function1Text.Value    = GetFunction1Text(bindable);
         shell.Function2Text.Value    = GetFunction2Text(bindable);
         shell.Function3Text.Value    = GetFunction3Text(bindable);
         shell.Function4Text.Value    = GetFunction4Text(bindable);
         shell.Function1Enabled.Value = GetFunction1Enabled(bindable);
         shell.Function2Enabled.Value = GetFunction2Enabled(bindable);
         shell.Function3Enabled.Value = GetFunction3Enabled(bindable);
         shell.Function4Enabled.Value = GetFunction4Enabled(bindable);
     }
 }
 public static void UpdateShellControl(IShellControl shell, BindableObject bindable)
 {
     shell.Title.Value = bindable is null ? string.Empty : GetTitle(bindable);
 }