1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-07 09:20:04 +01:00

PM-3349 PM-3350 Added MAUI label on self-host settings and on about settings to differentiate from XF app

This commit is contained in:
Federico Maccaroni 2023-12-04 11:35:35 -03:00
parent 95ca911444
commit 406f4425c8
No known key found for this signature in database
GPG Key ID: 5D233F8F2B034536
2 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<pages:BaseContentPage <pages:BaseContentPage
xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
@ -21,6 +21,10 @@
<ScrollView> <ScrollView>
<StackLayout Spacing="20"> <StackLayout Spacing="20">
<StackLayout StyleClass="box"> <StackLayout StyleClass="box">
<StackLayout StyleClass="box-row-header">
<Label Text="MAUI APP"
StyleClass="box-header, box-header-platform" />
</StackLayout>
<StackLayout StyleClass="box-row-header"> <StackLayout StyleClass="box-row-header">
<Label Text="{u:I18n SelfHostedEnvironment, Header=True}" <Label Text="{u:I18n SelfHostedEnvironment, Header=True}"
StyleClass="box-header, box-header-platform" /> StyleClass="box-header, box-header-platform" />

View File

@ -68,7 +68,8 @@ namespace Bit.App.Pages
{ {
get get
{ {
var appInfo = string.Format("{0}: {1} ({2})", // TODO: REMOVE WHEN MERGED INTO MAIN BRANCH
var appInfo = string.Format("MAUI {0}: {1} ({2})",
AppResources.Version, AppResources.Version,
_platformUtilsService.GetApplicationVersion(), _platformUtilsService.GetApplicationVersion(),
_deviceActionService.GetBuildNumber()); _deviceActionService.GetBuildNumber());