location (#20)
Co-authored-by: Tsubasahane <wozaiha@gmail.com> Reviewed-on: #20
This commit was merged in pull request #20.
This commit is contained in:
@@ -23,11 +23,6 @@ public static class GroupUserPermissionsExtensions
|
||||
{
|
||||
return perm.HasFlag(GroupUserPreferredPermissions.Paused);
|
||||
}
|
||||
|
||||
public static bool IsSharingLocation(this GroupUserPreferredPermissions perm)
|
||||
{
|
||||
return perm.HasFlag(GroupUserPreferredPermissions.ShareLocation);
|
||||
}
|
||||
|
||||
public static void SetDisableAnimations(this ref GroupUserPreferredPermissions perm, bool set)
|
||||
{
|
||||
@@ -52,10 +47,4 @@ public static class GroupUserPermissionsExtensions
|
||||
if (set) perm |= GroupUserPreferredPermissions.Paused;
|
||||
else perm &= ~GroupUserPreferredPermissions.Paused;
|
||||
}
|
||||
|
||||
public static void SetShareLocation(this ref GroupUserPreferredPermissions perm, bool set)
|
||||
{
|
||||
if (set) perm |= GroupUserPreferredPermissions.ShareLocation;
|
||||
else perm &= ~GroupUserPreferredPermissions.ShareLocation;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user