Fix notification settings
This commit is contained in:
parent
08a4b4b49a
commit
6dbb11f6e9
|
@ -487,8 +487,8 @@ public class RetrofitPeertubeAPI {
|
||||||
UserMe.AvatarResponse avatarResponse = null;
|
UserMe.AvatarResponse avatarResponse = null;
|
||||||
PeertubeService peertubeService = init();
|
PeertubeService peertubeService = init();
|
||||||
|
|
||||||
peertubeService.updateNotifications(getToken(), userSettings.getNotificationSettings());
|
Call<String> updateNotifications = peertubeService.updateNotifications(getToken(), userSettings.getNotificationSettings());
|
||||||
|
Response<String> responseNotif = updateNotifications.execute();
|
||||||
Call<String> updateUser = peertubeService.updateUser(getToken(),
|
Call<String> updateUser = peertubeService.updateUser(getToken(),
|
||||||
userSettings.isVideosHistoryEnabled(),
|
userSettings.isVideosHistoryEnabled(),
|
||||||
userSettings.isAutoPlayVideo(),
|
userSettings.isAutoPlayVideo(),
|
||||||
|
|
Loading…
Reference in New Issue