Anderson Mesquita
dd0f1e397c
Extract method to get cookie value
Currently, trying to get a `csrftoken` from an empty cookie string will
crash the application. This creates a helper method to extract a cookie
value given a cookie name by pattern matching on the cookie string and
returning the value if one is found.
Fixes : #167
4 years ago
Anderson Mesquita
890c4d32d1
Extract method to get longest cookie
This reduces duplication and makes it easier to know what `getCookie` is
doing, since all domains are now clustered together and it's easy to see
the difference between them..
4 years ago
Austin Huang
8d388c17e5
Update CrashReporter.java
4 years ago
Austin Huang
10f2e51a2e
New Crowdin updates ( #155 )
* New translations strings.xml (Persian)
* New translations strings.xml (Persian)
* New translations strings.xml (Persian)
* New translations strings.xml (Chinese Simplified)
* New translations arrays.xml (Macedonian)
* New translations strings.xml (Persian)
* New translations strings.xml (Macedonian)
4 years ago
Austin Huang
7ac9c965e3
bibliogram theme, translation setup
4 years ago
Austin Huang
841f61f6cf
image stuff
4 years ago
Austin Huang
42c7414b8d
New Crowdin updates ( #144 )
* New translations strings.xml (Persian)
* New translations strings.xml (Persian)
* New translations strings.xml (Persian)
* New translations strings.xml (Persian)
* New translations strings.xml (Persian)
* New translations strings.xml (Chinese Simplified)
* New translations arrays.xml (French)
* New translations arrays.xml (Portuguese, Brazilian)
* New translations arrays.xml (Chinese Simplified)
* New translations arrays.xml (Turkish)
* New translations arrays.xml (Russian)
* New translations arrays.xml (Polish)
* New translations arrays.xml (Italian)
* New translations arrays.xml (German)
* New translations arrays.xml (Spanish)
* New translations strings.xml (Persian)
* New translations strings.xml (French)
* New translations arrays.xml (Persian)
* New translations strings.xml (Indonesian)
* New translations strings.xml (Portuguese, Brazilian)
* New translations strings.xml (Turkish)
* New translations strings.xml (Russian)
* New translations strings.xml (Polish)
* New translations strings.xml (Italian)
* New translations strings.xml (German)
* New translations strings.xml (Spanish)
* New translations arrays.xml (Indonesian)
* Update source file arrays.xml
* Update source file strings.xml
* New translations arrays.xml (Chinese Simplified)
* New translations strings.xml (Chinese Simplified)
* New translations arrays.xml (Turkish)
* New translations strings.xml (Italian)
* New translations strings.xml (Turkish)
* New translations arrays.xml (Italian)
* New translations arrays.xml (Persian)
* New translations strings.xml (Persian)
* New translations arrays.xml (Persian)
* New translations strings.xml (Persian)
* New translations arrays.xml (Persian)
* New translations strings.xml (Turkish)
* New translations strings.xml (Persian)
4 years ago
Austin Huang
84127fb317
rebrand
4 years ago
ImgBotApp
6147e08c74
[ImgBot] Optimize images
*Total -- 240.52kb -> 190.04kb (20.99%)
/app/src/main/ic_launcher-playstore.png -- 128.45kb -> 85.16kb (33.7%)
/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png -- 30.18kb -> 25.85kb (14.36%)
/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -- 18.39kb -> 17.07kb (7.18%)
/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png -- 14.89kb -> 13.88kb (6.76%)
/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -- 11.38kb -> 11.20kb (1.56%)
/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -- 28.19kb -> 27.88kb (1.09%)
/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png -- 9.05kb -> 8.99kb (0.62%)
Signed-off-by: ImgBotApp <[email protected] >
4 years ago
Austin Huang
7e93383561
foreground
4 years ago
Austin Huang
7e52a94cb5
change of icon
4 years ago
Ammar Githam
15eed4137a
Fix previous themes and add Material Dark theme (needs improvements)
4 years ago
Ammar Githam
e7cd0e0041
Add Barinsta Light theme
4 years ago
Ammar Githam
31b94f17fc
Fix actionMode styling
4 years ago
Ammar Githam
490956565a
Update most of the png images to their xml counterparts and remove unused png
4 years ago
Ammar Githam
ad36331a06
No need for Image assets (.png) as Vector assets (.xml) work with AppCompat views
4 years ago
Ammar Githam
ebdaae94d1
Initial commit for updated flow of themes. (Check description)
Removed DayNight theme. Added a 'white' theme for Light, and 'black' theme for Dark.
Users will have to set the type of Light or Dark theme they want to use.
Default is white for light, black for dark.
More themes will be added later.
4 years ago
Ammar Githam
fb20deb9ee
Remove ic_star in favor of ic_star_24
4 years ago
Ammar Githam
c52f35bc3e
Convert AccountSwitcher dialog to a DialogFragment as the AlertDialog was causing a leak (detected by LeakCanary)
4 years ago
Ammar Githam
122d84fbf2
No more requireContext() as it is fail first. Instead use getContext() and check for null.
4 years ago
Ammar Githam
ee7f0a5c95
Remove unused layouts and rename StoryViewerFragment layout
4 years ago
Ammar Githam
5c0ba88210
Make profile view appbar non elevated, and better scrolling effect
4 years ago
Ammar Githam
01fe50fa7d
Convert profile view top from nested layout to flat constraint view
4 years ago
Ammar Githam
f514e8b34c
Just rearrange the dependencies
4 years ago
Austin Huang
84caa633a3
oeuf
4 years ago
Austin Huang
aa6dab07cb
attempt to add a third-party storyviewer, plus logout without removing accounts
4 years ago
Ammar Githam
93e8e25186
Add LeakCanary to detect leaks in debug builds
4 years ago
Ammar Githam
e560fd364b
Migrate from Glide to Fresco
4 years ago
Ammar Githam
08134ef5f1
Add activity checker service
4 years ago
Ammar Githam
60d9e64a57
Rename services package to webservices to avoid confusion with native Android services
4 years ago
Ammar Githam
37912854d0
Add activity/notification view fragment
4 years ago
Austin Huang
73a9e627d9
more crash resolution and home decor
4 years ago
Austin Huang
c9bd85cbf3
new about fragment
4 years ago
Ammar Githam
8049ddec45
Add about dialog back
4 years ago
Ammar Githam
9431d72e72
Search for telegram package only on demand
4 years ago
Ammar Githam
80044b5daf
Break down Utils into separate utility classes as Utils was getting bloated
4 years ago
Ammar Githam
00762c85e6
Add account switcher in MorePreferencesFragment
4 years ago
Austin Huang
1cc21896b7
crash resolution
4 years ago
Austin Huang
3e7097ff6d
restoration of DM mark-as-seen setting
4 years ago
Austin Huang
43f77409ba
Update UpdateChecker.java
4 years ago
Austin Huang
93b80a7147
implement F-Droid update checker
4 years ago
Austin Huang
1f2f526eb6
New Crowdin updates ( #72 )
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (French)
* New translations strings.xml (Spanish)
* New translations strings.xml (German)
* New translations strings.xml (Italian)
* New translations strings.xml (Polish)
* New translations strings.xml (Russian)
* New translations strings.xml (Turkish)
* New translations strings.xml (Portuguese, Brazilian)
* New translations strings.xml (Indonesian)
* Update source file strings.xml
* New translations strings.xml (French)
* New translations strings.xml (Italian)
* New translations strings.xml (Turkish)
* New translations strings.xml (Turkish)
* New translations strings.xml (Indonesian)
* New translations strings.xml (Chinese Simplified)
* New translations arrays.xml (Persian)
* New translations strings.xml (Persian)
* New translations strings.xml (German)
* New translations strings.xml (German)
* New translations arrays.xml (Persian)
* New translations strings.xml (Persian)
* New translations strings.xml (Persian)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (French)
* New translations strings.xml (Spanish)
* New translations strings.xml (German)
* New translations strings.xml (Italian)
* New translations strings.xml (Polish)
* New translations strings.xml (Russian)
* New translations strings.xml (Turkish)
* New translations strings.xml (Portuguese, Brazilian)
* New translations strings.xml (Indonesian)
* New translations strings.xml (Persian)
* Update source file strings.xml
* New translations strings.xml (French)
* New translations strings.xml (Spanish)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Italian)
* New translations strings.xml (Chinese Simplified)
* New translations strings.xml (Turkish)
* New translations strings.xml (Turkish)
* New translations strings.xml (Indonesian)
* New translations arrays.xml (German)
* New translations strings.xml (German)
* New translations strings.xml (Indonesian)
4 years ago
Austin Huang
ca0868a564
v18.3
4 years ago
Ammar Githam
8e51773085
Fix parent and child comments view.
Separated out parent comment and dm item view to reduce handling of view visibility. Added the likes in parent and matched styles with child comments.
4 years ago
Ammar Githam
149410d552
Hide search if default tab is not profile
4 years ago
Ammar Githam
31f6f735f2
Resolve Doc warning
4 years ago
Ammar Githam
3de2f4ea99
Fix auto play videos setting not correctly set
4 years ago
Ammar Githam
d4a28d6aa1
Handle null context! Need to add this check in all async listeners.
4 years ago
Ammar Githam
61851f2ef7
Fix long click in feed view and url click in profile view
4 years ago
Austin Huang
616ee86c5e
fix #126
4 years ago