From 0723999652ecebe1a260a5605f824784858267dc Mon Sep 17 00:00:00 2001 From: Federico Maccaroni Date: Fri, 17 Nov 2023 19:14:25 -0300 Subject: [PATCH] [PM-4857] Hide "Allow screen capture" on iOS (#2873) * PM-4857 Hide "Allow screen capture" on iOS * PM-4857 Try to fix FDroid build by forcing .NET 7 * PM-4857 Try to fix FDroid build by forcing .NET 7, adding rollForward and disable allowPrerelease to the global json * PM-4857 Changed global.json to use 7.0.400 so FDroid pass in CI --- global.json | 7 +++++++ src/App/Pages/Settings/OtherSettingsPage.xaml | 1 + 2 files changed, 8 insertions(+) create mode 100644 global.json diff --git a/global.json b/global.json new file mode 100644 index 000000000..68bdb4538 --- /dev/null +++ b/global.json @@ -0,0 +1,7 @@ +{ + "sdk": { + "version": "7.0.400", + "rollForward": "latestPatch", + "allowPrerelease": false + } +} \ No newline at end of file diff --git a/src/App/Pages/Settings/OtherSettingsPage.xaml b/src/App/Pages/Settings/OtherSettingsPage.xaml index 830cbcbbd..5859561b5 100644 --- a/src/App/Pages/Settings/OtherSettingsPage.xaml +++ b/src/App/Pages/Settings/OtherSettingsPage.xaml @@ -53,6 +53,7 @@ Title="{u:I18n AllowScreenCapture}" IsToggled="{Binding IsScreenCaptureAllowed}" IsEnabled="{Binding CanToggleeScreenCaptureAllowed}" + IsVisible="{OnPlatform Android=True, iOS=False}" AutomationId="AllowScreenCaptureSwitch" StyleClass="settings-item-view" HorizontalOptions="FillAndExpand" />