Skip to content

Commit

Permalink
Rename header text "Brands" to "Choose an icon"
Browse files Browse the repository at this point in the history
- Renamed header text of popup "Brands" to "Choose an icon" in the QR adding step
- Fixed label constraints to avoid text truncation

Fixes #206
  • Loading branch information
igor2890 authored and justin-stephenson committed Mar 4, 2022
1 parent 5a1696e commit 3372a3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions FreeOTP/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17156" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="1u3-cr-3fz">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19529" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="1u3-cr-3fz">
<device id="retina4_7" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17126"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19519"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/>
<capability name="collection view cell content view" minToolsVersion="11.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
Expand Down Expand Up @@ -83,7 +83,7 @@
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<prototypes>
<tableViewCell clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="shareRow" id="Mf6-nW-1Zf">
<rect key="frame" x="0.0" y="55.5" width="375" height="44"/>
<rect key="frame" x="0.0" y="49.5" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Mf6-nW-1Zf" id="KeR-bk-SlQ">
<rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
Expand Down Expand Up @@ -480,10 +480,10 @@ WARNING: Locked tokens are *not* included in backups for security reasons</strin
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Section Header" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zhg-ll-iDf">
<rect key="frame" x="110.5" y="5" width="118.5" height="20.5"/>
<rect key="frame" x="91.5" y="5" width="160" height="20.5"/>
<color key="tintColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="width" constant="118.5" id="518-rn-vpT"/>
<constraint firstAttribute="width" constant="160" id="518-rn-vpT"/>
</constraints>
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
Expand All @@ -492,7 +492,7 @@ WARNING: Locked tokens are *not* included in backups for security reasons</strin
</subviews>
<color key="backgroundColor" red="0.2123255076142132" green="0.2123255076142132" blue="0.2123255076142132" alpha="0.88305329623287676" colorSpace="custom" customColorSpace="displayP3"/>
<constraints>
<constraint firstItem="zhg-ll-iDf" firstAttribute="leading" secondItem="Nue-fw-iin" secondAttribute="leading" constant="110.5" id="511-dJ-Gek"/>
<constraint firstItem="zhg-ll-iDf" firstAttribute="centerX" secondItem="Nue-fw-iin" secondAttribute="centerX" id="70w-6b-Zkr"/>
<constraint firstItem="zhg-ll-iDf" firstAttribute="top" secondItem="Nue-fw-iin" secondAttribute="topMargin" constant="-3" id="PlU-A1-47p"/>
</constraints>
<connections>
Expand Down
2 changes: 1 addition & 1 deletion FreeOTP/URIIconViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class URIIconViewController: UIViewController, UICollectionViewDelegate, UIColle
var headerText = ""
switch indexPath.section {
case 0:
headerText = "Brands"
headerText = "Choose an icon"
case 1:
headerText = "Other"
default:
Expand Down

0 comments on commit 3372a3d

Please sign in to comment.