marinofaggiana 6 years ago
parent
commit
dfa62b5982

+ 4 - 4
iOSClient/AudioRecorder/NCAudioRecorderViewController.storyboard

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="9IE-bj-VJb">
-    <device id="retina4_7" orientation="portrait">
+    <device id="retina5_9" orientation="portrait">
         <adaptation id="fullscreen"/>
     </device>
     <dependencies>
@@ -18,11 +18,11 @@
                         <viewControllerLayoutGuide type="bottom" id="6hQ-x4-s9V"/>
                     </layoutGuides>
                     <view key="view" contentMode="scaleToFill" id="tQN-Gk-6M1">
-                        <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
+                        <rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                         <subviews>
                             <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ztv-M0-yUI" userLabel="contentContainerView">
-                                <rect key="frame" x="87.5" y="208.5" width="200" height="250"/>
+                                <rect key="frame" x="87.666666666666686" y="281" width="200" height="250"/>
                                 <subviews>
                                     <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vr6-IX-Yee" customClass="VoiceRecordHUD" customModule="Nextcloud" customModuleProvider="target">
                                         <rect key="frame" x="7" y="32" width="186" height="186"/>
@@ -40,7 +40,7 @@
                                         </userDefinedRuntimeAttributes>
                                     </view>
                                     <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="120″" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yIp-rq-klm">
-                                        <rect key="frame" x="85" y="15" width="30" height="17"/>
+                                        <rect key="frame" x="84.999999999999986" y="15" width="30" height="17"/>
                                         <fontDescription key="fontDescription" type="system" pointSize="14"/>
                                         <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                         <nil key="highlightedColor"/>

+ 3 - 3
iOSClient/AudioRecorder/NCAudioRecorderViewController.swift

@@ -256,12 +256,12 @@ class VoiceRecordHUD: UIView {
     
     override init(frame: CGRect) {
         super.init(frame: frame)
-        image = UIImage(named: "Microphone")
+        image = UIImage(named: "microphone")
     }
     
     required init?(coder aDecoder: NSCoder) {
         super.init(coder: aDecoder)
-        image = UIImage(named: "Microphone")
+        image = UIImage(named: "microphone")
     }
     
     func update(_ rate: CGFloat) {
@@ -283,6 +283,6 @@ class VoiceRecordHUD: UIView {
     
     override func prepareForInterfaceBuilder() {
         let bundle = Bundle(for: type(of: self))
-        image = UIImage(named: "Microphone", in: bundle, compatibleWith: self.traitCollection)
+        image = UIImage(named: "microphone", in: bundle, compatibleWith: self.traitCollection)
     }
 }