mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
Update method name
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
26eb025c28
commit
59e5ed07a3
@ -46,8 +46,7 @@ public class MagicFirebaseInstanceIDService extends FirebaseInstanceIdService {
|
||||
|
||||
@Override
|
||||
public void onTokenRefresh() {
|
||||
appPreferences.setPushtoken(FirebaseInstanceId.getInstance().getToken());
|
||||
|
||||
appPreferences.setPushToken(FirebaseInstanceId.getInstance().getToken());
|
||||
new JobRequest.Builder(PushRegistrationJob.TAG).setUpdateCurrent(true).startNow().build().schedule();
|
||||
}
|
||||
}
|
||||
|
@ -112,7 +112,7 @@ public interface AppPreferences {
|
||||
String getPushToken();
|
||||
|
||||
@KeyByString("push_token")
|
||||
void setPushtoken(String pushToken);
|
||||
void setPushToken(String pushToken);
|
||||
|
||||
@KeyByString("push_token")
|
||||
void removePushToken();
|
||||
|
Loading…
Reference in New Issue
Block a user