mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-26 11:56:43 -08:00
Move db object into the application object.
This commit is contained in:
1 parent
a5a90b7b3d
commit
c21d60c8bf
17 files changed
+117
-47
No files matched your search
@@ -27,8 +27,8 @@ import android.widget.Button;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
|
||||
import com.android.keepass.KeePass;
|
||||
import com.android.keepass.R;
|
||||
import com.keepassdroid.app.App;
|
||||
import com.keepassdroid.database.FileOnFinish;
|
||||
import com.keepassdroid.database.OnFinish;
|
||||
import com.keepassdroid.database.SetPassword;
|
||||
@@ -93,7 +93,7 @@ public class SetPasswordDialog extends CancelDialog {
|
||||
|
||||
}
|
||||
|
||||
SetPassword sp = new SetPassword(KeePass.db, pass, keyfile, new AfterSave(mFinish, new Handler()));
|
||||
SetPassword sp = new SetPassword(App.getDB(), pass, keyfile, new AfterSave(mFinish, new Handler()));
|
||||
ProgressTask pt = new ProgressTask(getContext(), sp, R.string.saving_database);
|
||||
pt.run();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user