1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-07 19:13:19 +00:00

resolve some todos

This commit is contained in:
Kyle Spearrin
2019-06-05 08:58:11 -04:00
parent 046f25c223
commit 4d54c8f1d1
7 changed files with 11 additions and 26 deletions

View File

@@ -10,7 +10,6 @@ namespace Bit.Core.Models.Request
Type = platformUtilsService.GetDevice();
Name = platformUtilsService.GetDeviceString();
Identifier = appId;
PushToken = null; // TODO?
}
public DeviceType? Type { get; set; }

View File

@@ -29,8 +29,7 @@ namespace Bit.Core.Models.Request
obj.Add("deviceType", ((int)Device.Type).ToString());
obj.Add("deviceIdentifier", Device.Identifier);
obj.Add("deviceName", Device.Name);
// TODO
// dict.Add("devicePushToken", null);
obj.Add("devicePushToken", Device.PushToken);
}
if(!string.IsNullOrWhiteSpace(Token) && Provider != null)
{

View File

@@ -1,11 +1,5 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Bit.Core.Models.View
namespace Bit.Core.Models.View
{
public abstract class View
{
// TODO
}
{ }
}