1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-25 12:05:59 +01:00

[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
This commit is contained in:
Federico Maccaroni 2023-11-17 19:14:25 -03:00 committed by GitHub
parent 96343eccf7
commit 0723999652
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

7
global.json Normal file
View File

@ -0,0 +1,7 @@
{
"sdk": {
"version": "7.0.400",
"rollForward": "latestPatch",
"allowPrerelease": false
}
}

View File

@ -53,6 +53,7 @@
Title="{u:I18n AllowScreenCapture}" Title="{u:I18n AllowScreenCapture}"
IsToggled="{Binding IsScreenCaptureAllowed}" IsToggled="{Binding IsScreenCaptureAllowed}"
IsEnabled="{Binding CanToggleeScreenCaptureAllowed}" IsEnabled="{Binding CanToggleeScreenCaptureAllowed}"
IsVisible="{OnPlatform Android=True, iOS=False}"
AutomationId="AllowScreenCaptureSwitch" AutomationId="AllowScreenCaptureSwitch"
StyleClass="settings-item-view" StyleClass="settings-item-view"
HorizontalOptions="FillAndExpand" /> HorizontalOptions="FillAndExpand" />