Skip to content

Commit ba4ae3d

Browse files
author
just-software-dev
committed
Merge branch 'release/3.10.0' into dev/trello.com/c/ysg4LpCL
2 parents f809bfb + 57d16ac commit ba4ae3d

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

Adamant/App/AppDelegate.swift

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,18 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
329329

330330
repeater.resumeAll()
331331
}
332+
333+
func application(
334+
_: UIApplication,
335+
shouldAllowExtensionPointIdentifier extensionPointIdentifier: UIApplication.ExtensionPointIdentifier
336+
) -> Bool {
337+
switch extensionPointIdentifier {
338+
case .keyboard:
339+
false
340+
default:
341+
true
342+
}
343+
}
332344
}
333345

334346
// MARK: - Remote notifications

CommonKit/Sources/CommonKit/Helpers/UIHelpers/UIColor+adamant.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ extension UIColor {
8181

8282
/// Default cell color
8383
public static var cellColor: UIColor {
84+
guard !isMacOS else { return .secondarySystemGroupedBackground }
8485
let colorWhiteTheme = UIColor.white
8586
let colorDarkTheme = #colorLiteral(red: 0.1098039216, green: 0.1098039216, blue: 0.1137254902, alpha: 1) //1c1c1d
8687
return returnColorByTheme(colorWhiteTheme: colorWhiteTheme, colorDarkTheme: colorDarkTheme)

0 commit comments

Comments
 (0)