Skip to content

Commit

Permalink
only check empty
Browse files Browse the repository at this point in the history
  • Loading branch information
jamie-mh committed Feb 22, 2021
1 parent 0bfc65c commit 768bfd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AuthenticatorPro.Droid/Source/Data/Database.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
Expand Down Expand Up @@ -72,7 +72,7 @@ public static async Task<SQLiteAsyncConnection> GetPrivateConnection(string pass
{
var dbPath = GetPath();

if(String.IsNullOrEmpty(password))
if(password == "")
password = null;

var connStr = new SQLiteConnectionString(dbPath, Flags, true, password, null, conn =>
Expand Down

0 comments on commit 768bfd3

Please sign in to comment.