File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
android/app/src/main/java/com/zulipmobile/notifications Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import com.google.android.gms.common.ConnectionResult
10
10
import com.google.android.gms.common.GoogleApiAvailability
11
11
import java.lang.Exception
12
12
13
- internal class NotificationsModule (reactContext : ReactApplicationContext ? ) :
13
+ internal class NotificationsModule (reactContext : ReactApplicationContext ) :
14
14
ReactContextBaseJavaModule (reactContext) {
15
15
override fun getName (): String {
16
16
return " Notifications"
@@ -76,7 +76,7 @@ internal class NotificationsModule(reactContext: ReactApplicationContext?) :
76
76
77
77
companion object {
78
78
var initialNotification: Bundle ? = null
79
- fun emitToken (reactContext : ReactContext ? , token : String? ) {
79
+ fun emitToken (reactContext : ReactContext ? , token : String ) {
80
80
if (reactContext == null ) {
81
81
// Perhaps this is possible if InstanceIDListenerService gets invoked?
82
82
return
You can’t perform that action at this time.
0 commit comments