Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Usability] Dialog "add transaction" remember last used "category" and "account" and use this as default when adding another transaction #44

Open
k3b opened this issue Jan 30, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@k3b
Copy link
Contributor

k3b commented Jan 30, 2023

as a : user
i want : use last used "category" and "account" as default when adding another transaction
so that : making it faster (less typing) to add similar transactions on same account/category

@k3b
Copy link
Contributor Author

k3b commented Feb 15, 2023

Hint you can use

        final SharedPreferences prefs = PreferenceManager
                .getDefaultSharedPreferences(this.getApplicationContext());
        lastCategoryId = prefs.getLong(KEY_LAST_USED_CATEGORY);

        SharedPreferences.Editor edit = PreferenceManager
                .getDefaultSharedPreferences(this.getApplicationContext()).edit();
        edit.putLong(KEY_LAST_USED_CATEGORY, lastCategoryId );
        edit.apply();

MaxIsV added a commit to MaxIsV/privacy-friendly-finance-manager that referenced this issue Feb 16, 2023
…y" and "account" and use this as default when adding another transaction
coderPaddyS added a commit that referenced this issue May 16, 2023
…used_account_category

#44 New transaction uses last used account and/or category
@coderPaddyS coderPaddyS added the enhancement New feature or request label Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants