Merge pull request #120 from snikket-im/iOS15-UI-Fixes
- #118 Fixed UI Issues for iOS-15
This commit is contained in:
commit
f147ae9b51
|
@ -70,7 +70,15 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
|||
}
|
||||
}
|
||||
_ = JingleManager.instance;
|
||||
UINavigationBar.appearance().tintColor = UIColor(named: "tintColor");
|
||||
|
||||
if #available(iOS 15, *) {
|
||||
let appearance = UINavigationBarAppearance()
|
||||
appearance.configureWithOpaqueBackground()
|
||||
appearance.titleTextAttributes = [NSAttributedString.Key.foregroundColor: UIColor.black]
|
||||
appearance.backgroundColor = UIColor(named: "chatslistBackground")
|
||||
UINavigationBar.appearance().standardAppearance = appearance;
|
||||
UINavigationBar.appearance().scrollEdgeAppearance = appearance
|
||||
}
|
||||
NotificationManager.instance.initialize(provider: MainNotificationManagerProvider());
|
||||
xmppService.initialize();
|
||||
Settings.setDefaultSettings()
|
||||
|
|
|
@ -458,6 +458,8 @@
|
|||
<rect key="frame" x="0.0" y="0.0" width="320" height="49"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<color key="selectedImageTintColor" name="tintColor"/>
|
||||
<tabBarAppearance key="standardAppearance"/>
|
||||
<tabBarAppearance key="scrollEdgeAppearance"/>
|
||||
</tabBar>
|
||||
<connections>
|
||||
<segue destination="JxF-gw-olp" kind="relationship" relationship="viewControllers" id="ifN-oQ-Gcj"/>
|
||||
|
@ -472,9 +474,9 @@
|
|||
<!--Contacts-->
|
||||
<scene sceneID="x6U-yq-dO2">
|
||||
<objects>
|
||||
<tableViewController id="mps-t3-QBq" customClass="RosterViewController" customModule="Snikket" customModuleProvider="target" sceneMemberID="viewController">
|
||||
<tableViewController extendedLayoutIncludesOpaqueBars="YES" id="mps-t3-QBq" customClass="RosterViewController" customModule="Snikket" customModuleProvider="target" sceneMemberID="viewController">
|
||||
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" id="dbg-Pp-Ujo">
|
||||
<rect key="frame" x="0.0" y="0.0" width="428" height="838"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="428" height="926"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
|
||||
<color key="separatorColor" systemColor="systemBackgroundColor"/>
|
||||
|
@ -553,7 +555,6 @@
|
|||
<outlet property="delegate" destination="mps-t3-QBq" id="ZYI-Wf-ZtU"/>
|
||||
</connections>
|
||||
</tableView>
|
||||
<extendedEdge key="edgesForExtendedLayout" bottom="YES"/>
|
||||
<navigationItem key="navigationItem" title="Contacts" id="SEz-IM-IWL">
|
||||
<barButtonItem key="backBarButtonItem" title=" " id="NYU-vU-24f">
|
||||
<attributedString key="userComments">
|
||||
|
|
Loading…
Reference in a new issue