Theme and Icons #260
No reviewers
Labels
No Label
Priority-high
Accepting-merge-requests
API
API-dependency
Backport
Blocked
Brainstorming
Breaking
Bug
Changelog
CI
Cleanup
Confirmed
Discussion
Documentation
Duplicate
Enhancement
External-dependecy
F-droid
Feature
Google-play
Improvement
Invalid
Investigate
LGTM-done
LGTM-need
Long-term
Major-release
Minor-release
Needs-cleanup
Needs-feedback
Needs-help
Priority-critical
Priority-low
Priority-medium
Question
Ready
Refactor
Regression
Release
Repository
Security
Suggestion
Support
Testing
Translation
UI/UX
Upstream
Website
WIP
No Milestone
No Assignees
2 Participants
Total Time Spent: 41 minutes 24 seconds
Due Date
6543
41 minutes 24 seconds
No due date set.
Dependencies
No dependencies set.
Reference: gitnex/GitNex#260
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "light-theme"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Will close #249 and #250
[WIP] Theme and Iconsto Theme and IconsI'll have a look :)
@ -16,1 +17,4 @@
final TinyDB tinyDb = new TinyDB(getApplicationContext());
if(tinyDb.getInt("themeId") == 0) {
can you test for == 1 and else set default theme?
Yes, that will work too.
one nit, a question
@ -113,6 +114,16 @@ public class RepoStargazersAdapter extends BaseAdapter {
viewHolder.memberName.setTypeface(myTypeface);
}
if(tinyDb.getInt("themeId") == 0) { // dark
same as first comment - why not make if (is light) [else if (is other theme - not here jet)] else default -> dark theme
Yup, you are right.
@ -1,4 +1,4 @@
<vector android:height="24dp" android:tint="#FFFFFF"
<vector android:height="24dp" android:tint="#368f73"
would be nice if this would be a in the theme config too - but dont know how hard this is to implement ...
Not sure how hard. Haven't researched on this. But for now the same green color icons matches both themes. Will see if we have more themes later on.
Just tried with custom attr and it works. But for now we will keep it as we can improve the themes slowly. Also this PR intended job is done and is very big already.
yes have same opinion but nice that is is doable - I'll create an issue witch links to this comments so we have a record of this :)
-> #271
Ready for final review. :)
Cant view diff with GitNex I'll have to wait tomoroww to look at the pull via PC
--> GitNex crash because of to big diff, can we ad something like paggination?
Currently there is no API for it so I am rendering it from web. I know it is not best at this time and may have problems. But with few files it works. With PR this big it was going to crash/stop work etc.
Room of improvement are very minimal in the current imeplementation tbh. I will leave it as is except fix bugs and wait for the API to be available at later times to have a better implementation of it.
O didn't noticed there is an api issue, is there an issue open upstream?
Haven't looked around but did not come across so far.
@ -49,2 +50,4 @@
private PDFView pdfView;
private LinearLayout pdfViewFrame;
private byte[] decodedPdf;
private Boolean $nightMode;
why this variable start with
$
?Good catch. I was into PHP mode. :)
php mode 😆 - I wonder it works!
I have tested it now - works as expected 👍
Haha, java treats it as a character like others.
I'm fine with merging this :D