mirror of
https://github.com/bitwarden/mobile
synced 2025-01-28 17:29:18 +01:00
Added extension icon to setup view controller in extension along with text explanation.
This commit is contained in:
parent
9ef840412a
commit
4ac447a13f
@ -135,7 +135,7 @@ namespace Bit.App.Pages
|
|||||||
|
|
||||||
var activatedSublabel = new Label
|
var activatedSublabel = new Label
|
||||||
{
|
{
|
||||||
Text = "In Safari, find bitwarden using the share icon (hint: scroll to the right on the second row of the menu).",
|
Text = "In Safari, find bitwarden using the share icon (hint: scroll to the right on the bottom row of the menu).",
|
||||||
VerticalOptions = LayoutOptions.Start,
|
VerticalOptions = LayoutOptions.Start,
|
||||||
HorizontalOptions = LayoutOptions.Center,
|
HorizontalOptions = LayoutOptions.Center,
|
||||||
HorizontalTextAlignment = TextAlignment.Center,
|
HorizontalTextAlignment = TextAlignment.Center,
|
||||||
|
@ -522,15 +522,15 @@
|
|||||||
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Your logins are now instantly accessable from Safari, Chrome, and other supported apps." lineBreakMode="wordWrap" minimumFontSize="10" id="11093" translatesAutoresizingMaskIntoConstraints="NO" numberOfLines="0" textAlignment="center">
|
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" lineBreakMode="wordWrap" minimumFontSize="10" id="11093" translatesAutoresizingMaskIntoConstraints="NO" numberOfLines="0" textAlignment="center" misplaced="YES">
|
||||||
<rect key="frame" x="15" y="134.5" width="570" height="41"/>
|
<rect key="frame" x="15" y="134.5" width="570" height="41"/>
|
||||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||||
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" id="11094" translatesAutoresizingMaskIntoConstraints="NO" image="Icon.png">
|
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" id="11094" translatesAutoresizingMaskIntoConstraints="NO" image="ext-icon.png" misplaced="YES">
|
||||||
<rect key="frame" x="271.5" y="205.5" width="57" height="57"/>
|
<rect key="frame" x="255" y="205.5" width="90" height="90"/>
|
||||||
</imageView>
|
</imageView>
|
||||||
</subviews>
|
</subviews>
|
||||||
<constraints>
|
<constraints>
|
||||||
@ -587,7 +587,7 @@
|
|||||||
</scenes>
|
</scenes>
|
||||||
<resources>
|
<resources>
|
||||||
<image name="logo.png" width="282" height="44"/>
|
<image name="logo.png" width="282" height="44"/>
|
||||||
<image name="Icon.png" width="57" height="57"/>
|
<image name="Icon.png" width="40" height="40"/>
|
||||||
<image name="bg.png" width="400" height="400"/>
|
<image name="ext-icon.png" width="90" height="90"/>
|
||||||
</resources>
|
</resources>
|
||||||
</document>
|
</document>
|
BIN
src/iOS.Extension/Resources/ext-icon.png
Normal file
BIN
src/iOS.Extension/Resources/ext-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
src/iOS.Extension/Resources/ext-icon@2x.png
Normal file
BIN
src/iOS.Extension/Resources/ext-icon@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
BIN
src/iOS.Extension/Resources/ext-icon@3x.png
Normal file
BIN
src/iOS.Extension/Resources/ext-icon@3x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
@ -24,6 +24,9 @@ namespace Bit.iOS.Extension
|
|||||||
{
|
{
|
||||||
View.BackgroundColor = new UIColor(red: 0.94f, green: 0.94f, blue: 0.96f, alpha: 1.0f);
|
View.BackgroundColor = new UIColor(red: 0.94f, green: 0.94f, blue: 0.96f, alpha: 1.0f);
|
||||||
var descriptor = UIFontDescriptor.PreferredBody;
|
var descriptor = UIFontDescriptor.PreferredBody;
|
||||||
|
DescriptionLabel.Text = @"Your logins are now easily accessable from Safari, Chrome, and other supported apps.
|
||||||
|
|
||||||
|
In Safari and Chrome, find bitwarden using the share icon (hint: scroll to the right on the bottom row of the share menu).";
|
||||||
DescriptionLabel.Font = UIFont.FromDescriptor(descriptor, descriptor.PointSize);
|
DescriptionLabel.Font = UIFont.FromDescriptor(descriptor, descriptor.PointSize);
|
||||||
DescriptionLabel.TextColor = new UIColor(red: 0.47f, green: 0.47f, blue: 0.47f, alpha: 1.0f);
|
DescriptionLabel.TextColor = new UIColor(red: 0.47f, green: 0.47f, blue: 0.47f, alpha: 1.0f);
|
||||||
ActivatedLabel.Font = UIFont.FromDescriptor(descriptor, descriptor.PointSize * 1.3f);
|
ActivatedLabel.Font = UIFont.FromDescriptor(descriptor, descriptor.PointSize * 1.3f);
|
||||||
|
@ -227,6 +227,9 @@
|
|||||||
<BundleResource Include="Resources\logo.png" />
|
<BundleResource Include="Resources\logo.png" />
|
||||||
<BundleResource Include="Resources\logo%402x.png" />
|
<BundleResource Include="Resources\logo%402x.png" />
|
||||||
<BundleResource Include="Resources\logo%403x.png" />
|
<BundleResource Include="Resources\logo%403x.png" />
|
||||||
|
<BundleResource Include="Resources\ext-icon.png" />
|
||||||
|
<BundleResource Include="Resources\ext-icon%402x.png" />
|
||||||
|
<BundleResource Include="Resources\ext-icon%403x.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\App\App.csproj">
|
<ProjectReference Include="..\App\App.csproj">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user