mirror of
https://github.com/bitwarden/android.git
synced 2025-01-09 17:57:34 +03:00
abada481b7
* [SG-702] Tap notification now switches accounts if it is a passwordless notification. * [SG-702] Fix compilation errors * [SG-702] Fixed iOS notification tap fix * [SG-702] Notification data model * [SG-702] Change method signature with object containing properties. PR fixes.
23 lines
485 B
C#
23 lines
485 B
C#
using System;
|
|
namespace Bit.App.Models
|
|
{
|
|
public abstract class BaseNotificationData
|
|
{
|
|
public abstract string Type { get; }
|
|
|
|
public string Id { get; set; }
|
|
}
|
|
|
|
public class PasswordlessNotificationData : BaseNotificationData
|
|
{
|
|
public const string TYPE = "passwordlessNotificationData";
|
|
|
|
public override string Type => TYPE;
|
|
|
|
public int TimeoutInMinutes { get; set; }
|
|
|
|
public string UserEmail { get; set; }
|
|
}
|
|
|
|
}
|
|
|