diff --git a/Ring/Ring/Features/ContactRequests/Cells/ContactRequestCell.xib b/Ring/Ring/Features/ContactRequests/Cells/ContactRequestCell.xib index 12d59417e6e3f43cfa3a64e4d0be5d789fff35a0..f873069a72e3befff9ecbc164215e34c383265d3 100644 --- a/Ring/Ring/Features/ContactRequests/Cells/ContactRequestCell.xib +++ b/Ring/Ring/Features/ContactRequests/Cells/ContactRequestCell.xib @@ -37,7 +37,7 @@ <nil key="highlightedColor"/> </label> <stackView opaque="NO" contentMode="scaleToFill" distribution="equalSpacing" alignment="center" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="klf-Xm-XH9"> - <rect key="frame" x="313" y="6" width="132" height="40"/> + <rect key="frame" x="315" y="6" width="130" height="40"/> <subviews> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="feR-9F-sZM"> <rect key="frame" x="0.0" y="0.0" width="40" height="40"/> @@ -62,7 +62,7 @@ </userDefinedRuntimeAttributes> </button> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="fWB-HR-tae"> - <rect key="frame" x="46" y="0.0" width="40" height="40"/> + <rect key="frame" x="45" y="0.0" width="40" height="40"/> <constraints> <constraint firstAttribute="width" constant="40" id="BU4-ED-Mry"/> <constraint firstAttribute="height" constant="40" id="fQt-vU-mXY"/> @@ -84,7 +84,7 @@ </userDefinedRuntimeAttributes> </button> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Pni-bm-rkr"> - <rect key="frame" x="92" y="0.0" width="40" height="40"/> + <rect key="frame" x="90" y="0.0" width="40" height="40"/> <constraints> <constraint firstAttribute="height" constant="40" id="Bee-OT-mx8"/> <constraint firstAttribute="width" constant="40" id="dsw-SF-fZe"/> @@ -108,7 +108,7 @@ </button> </subviews> <constraints> - <constraint firstAttribute="width" constant="132" id="SA1-7h-Opo"/> + <constraint firstAttribute="width" constant="130" id="SA1-7h-Opo"/> </constraints> </stackView> </subviews> diff --git a/Ring/Ring/Features/Conversations/SmartList/SmartlistViewController.swift b/Ring/Ring/Features/Conversations/SmartList/SmartlistViewController.swift index 1aaef66b3f05fa339ee2db415e92658348f8cb47..2f96e5c88b712af8b65722e7a6fbcdf7c86ed89a 100644 --- a/Ring/Ring/Features/Conversations/SmartList/SmartlistViewController.swift +++ b/Ring/Ring/Features/Conversations/SmartList/SmartlistViewController.swift @@ -243,6 +243,9 @@ class SmartlistViewController: UIViewController, StoryboardBased, ViewModelBased requestsBadge.setTitle(String(requests), for: .normal) return } + if segmentControlContainer.isHidden { + conversationsSegmentControl.selectedSegmentIndex = 0 + } segmentControlContainer.isHidden = false let unreadMessages = messages let unreadRequests = requests