We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3877bbd commit e0c00e0Copy full SHA for e0c00e0
1 file changed
Tests/AndroidAppTests/AndroidAppTests.swift
@@ -24,7 +24,7 @@ extension AndroidContent.Context {
24
/// The shared `android.content.Context` for the current application
25
public static func applicationContext() throws -> Context {
26
// simply cast the Application to a Context
27
- return Context(javaHolder: try Application.currentApplication().javaHolder)
+ try Application.currentApplication().as(AndroidContent.Context.self)!
28
}
29
30
0 commit comments