mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-26 20:06:37 -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
@@ -29,8 +29,8 @@ import android.view.View;
|
||||
import android.view.ContextMenu.ContextMenuInfo;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.android.keepass.KeePass;
|
||||
import com.android.keepass.R;
|
||||
import com.keepassdroid.app.App;
|
||||
import com.keepassdroid.database.DeleteEntry;
|
||||
|
||||
public class PwEntryView extends ClickView {
|
||||
@@ -75,7 +75,7 @@ public class PwEntryView extends ClickView {
|
||||
|
||||
private void deleteEntry() {
|
||||
Handler handler = new Handler();
|
||||
DeleteEntry task = new DeleteEntry(KeePass.db, mPw, mAct, mAct.new RefreshTask(handler));
|
||||
DeleteEntry task = new DeleteEntry(App.getDB(), mPw, mAct, mAct.new RefreshTask(handler));
|
||||
ProgressTask pt = new ProgressTask(mAct, task, R.string.saving_database);
|
||||
pt.run();
|
||||
|
||||
|
||||
Reference in new issue
Block a user