mirror of
https://github.com/bitwarden/android.git
synced 2025-01-11 18:57:39 +03:00
fix warnings
This commit is contained in:
parent
02552d0b24
commit
5cdccc7527
2 changed files with 1 additions and 3 deletions
|
@ -27,7 +27,6 @@ namespace Bit.Core.Services
|
||||||
private readonly IPlatformUtilsService _platformUtilsService;
|
private readonly IPlatformUtilsService _platformUtilsService;
|
||||||
private readonly Func<bool, Task> _logoutCallbackAsync;
|
private readonly Func<bool, Task> _logoutCallbackAsync;
|
||||||
private string _deviceType;
|
private string _deviceType;
|
||||||
private bool _usingBaseUrl = false;
|
|
||||||
|
|
||||||
public ApiService(
|
public ApiService(
|
||||||
ITokenService tokenService,
|
ITokenService tokenService,
|
||||||
|
@ -50,7 +49,6 @@ namespace Bit.Core.Services
|
||||||
UrlsSet = true;
|
UrlsSet = true;
|
||||||
if(!string.IsNullOrWhiteSpace(urls.Base))
|
if(!string.IsNullOrWhiteSpace(urls.Base))
|
||||||
{
|
{
|
||||||
_usingBaseUrl = true;
|
|
||||||
ApiBaseUrl = urls.Base + "/api";
|
ApiBaseUrl = urls.Base + "/api";
|
||||||
IdentityBaseUrl = urls.Base + "/identity";
|
IdentityBaseUrl = urls.Base + "/identity";
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -66,7 +66,7 @@ namespace Bit.Core.Services
|
||||||
|
|
||||||
public async Task CheckLockAsync()
|
public async Task CheckLockAsync()
|
||||||
{
|
{
|
||||||
if(false) // TODO: view is open?
|
if(_platformUtilsService.IsViewOpen())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue