1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-17 20:27:29 +00:00
Commit Graph

613 Commits

Author SHA1 Message Date
Ammar Githam
8c4ce111a4 finish activity when onbackpressed bug occurs
Required so the activity finishes when the bug occurs. Current workaround makes the back button unresponsive
2020-12-07 19:37:14 +09:00
Ammar Githam
951117c769 Remove usage of final arrays to hold values 2020-12-02 20:02:48 +09:00
Ammar Githam
8829f4a66e Prevent DM button double click and check current fragment still attached before navigating. Fixes a crash reported in telegram group. 2020-12-02 20:01:40 +09:00
Ammar Githam
4ffab14ff3 Add activity finishing check before calling onBackPressed. May fix IllegalStateException: Can not perform this action after onSaveInstanceState 2020-12-02 20:00:20 +09:00
Ammar Githam
28dab3cf0f Explicitly set navigation bar color for PostViewV2Fragment. Fixes https://github.com/austinhuang0131/barinsta/issues/326 2020-12-01 22:21:18 +09:00
Ammar Githam
06f4ab56c8 Set feed item as saved or not from response. Closes https://github.com/austinhuang0131/barinsta/issues/369 2020-12-01 19:53:36 +09:00
Ammar Githam
d7661f7cf6 Remove auto play videos setting for now. Closes https://github.com/austinhuang0131/barinsta/issues/361 2020-12-01 19:39:47 +09:00
Ammar Githam
e4c30c0389 Open urls in new browser tabs. Closes https://github.com/austinhuang0131/barinsta/issues/367 2020-12-01 19:35:51 +09:00
Austin Huang
9cf2b8a2d8
New Crowdin updates (#366)
* New translations arrays.xml (French)

* New translations arrays.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations arrays.xml (Indonesian)

* New translations arrays.xml (Persian)

* New translations arrays.xml (Hindi)

* New translations arrays.xml (Odia)

* New translations arrays.xml (Catalan)

* New translations arrays.xml (Russian)

* New translations arrays.xml (Vietnamese)

* New translations arrays.xml (Chinese Traditional)

* New translations arrays.xml (Italian)

* New translations arrays.xml (Spanish)

* New translations arrays.xml (Czech)

* New translations arrays.xml (German)

* New translations arrays.xml (Macedonian)

* New translations arrays.xml (Polish)

* New translations arrays.xml (Turkish)

* New translations arrays.xml (Chinese Simplified)

* New translations arrays.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Simplified)

* New translations arrays.xml (Chinese Simplified)

* New translations arrays.xml (French)

* New translations arrays.xml (Italian)

* New translations strings.xml (Italian)
2020-11-30 17:50:17 -05:00
Austin Huang
0dd5a77295
close #284 2020-11-30 12:46:44 -05:00
Austin Huang
38d0bd56f8
add new languages
Co-Authored-By: retiolus <65604466+retiolus@users.noreply.github.com>
Co-Authored-By: rikishi0071 <18183855+rikishi0071@users.noreply.github.com>
2020-11-30 12:43:33 -05:00
Austin Huang
58f7130e2d
New Crowdin updates (#298)
* New translations strings.xml (Spanish)

* New translations strings.xml (Spanish)

* New translations arrays.xml (German)

* New translations arrays.xml (Polish)

* New translations strings.xml (Polish)

* New translations arrays.xml (Russian)

* New translations strings.xml (Russian)

* New translations arrays.xml (Odia)

* New translations arrays.xml (Odia)

* New translations arrays.xml (Odia)

* New translations arrays.xml (Odia)

* New translations strings.xml (Odia)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Persian)

* New translations strings.xml (Odia)

* New translations strings.xml (Catalan)

* New translations strings.xml (Catalan)

* New translations strings.xml (Catalan)

* New translations arrays.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Catalan)

* New translations arrays.xml (Odia)

* New translations strings.xml (Odia)

* New translations strings.xml (Odia)

* New translations strings.xml (French)

* New translations arrays.xml (Persian)

* New translations strings.xml (Persian)

* New translations strings.xml (Russian)

* New translations arrays.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Persian)

* New translations strings.xml (Persian)

* New translations strings.xml (Russian)

* New translations arrays.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Odia)

* New translations strings.xml (Odia)

* New translations strings.xml (Persian)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Hindi)

* New translations strings.xml (Odia)

* New translations strings.xml (Catalan)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Polish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Russian)
2020-11-30 12:36:28 -05:00
Austin Huang
b2e784deb8
close #306 and close #310 2020-11-30 12:29:41 -05:00
Ammar Githam
9887547363 Add default constructor for RestoreBackupDialogFragment. Should fix https://github.com/austinhuang0131/barinsta/issues/316 2020-11-30 22:34:34 +09:00
Ammar Githam
c72c4469f5 Handle null InboxThreadModel. Fixes https://github.com/austinhuang0131/barinsta/issues/329 2020-11-30 22:24:53 +09:00
Ammar Githam
dccfcaf78a Handle multiple videos in PostViewV2Fragment. Should fix https://github.com/austinhuang0131/barinsta/issues/337 and also fix videos playing after closing view. 2020-11-30 22:09:42 +09:00
Ammar Githam
6b370ca251 Handle ActivityNotFoundException while opening URL. Fixes https://github.com/austinhuang0131/barinsta/issues/351 2020-11-30 19:01:03 +09:00
Ammar Githam
3dfbf23cc0 Fix no vc_id in VIDEO_CALL_EVENT 2020-11-30 18:57:23 +09:00
Ammar Githam
d1a9393249 FeedModel null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/293 2020-11-19 19:00:14 +09:00
Ammar Githam
cc930c65b7 Null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/303 2020-11-19 18:52:40 +09:00
Ammar Githam
41e5fecbea Check if view is attached before animating controls. Should fix https://github.com/austinhuang0131/barinsta/issues/302 2020-11-19 18:49:06 +09:00
Ammar Githam
e449594253 Fix ProfileFragment for anon users 2020-11-19 02:41:30 +09:00
Ammar Githam
82e960d9fe Fix item decoration add/remove logic and one null check 2020-11-19 01:51:08 +09:00
Ammar Githam
e3cc99f62f Check highlight list before accessing. Fixes https://github.com/austinhuang0131/barinsta/issues/295 2020-11-19 01:36:30 +09:00
Ammar Githam
f01815f4ae Profile model null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/293 2020-11-19 01:29:59 +09:00
Ammar Githam
465627dd9c Temp workaround to fix https://github.com/austinhuang0131/barinsta/issues/282 2020-11-19 01:20:08 +09:00
Ammar Githam
5fdeeb7301 Add null and cast checks. Should fix https://github.com/austinhuang0131/barinsta/issues/278 2020-11-19 01:12:45 +09:00
Ammar Githam
d0c8e9f28c Comment out unused code 2020-11-19 01:01:55 +09:00
Ammar Githam
046152e30c Add comments fragment to dm navigation. Fixes https://github.com/austinhuang0131/barinsta/issues/276 2020-11-19 01:01:26 +09:00
Ammar Githam
2f957da290 Navigate to profile using nav id to workaround different compiled NavDirections 2020-11-19 01:00:33 +09:00
Ammar Githam
a6a4b6292d Make swipe up/down to dismiss post view more sensitive 2020-11-18 23:28:14 +09:00
Ammar Githam
23f3ef45c2 Fix binding change in ProfileFragment 2020-11-18 23:27:29 +09:00
Ammar Githam
e2bf09cc7f Fix missing semicolon 2020-11-18 22:18:23 +09:00
Ammar Githam
74cfe75058 Merge branch 'master' of https://github.com/austinhuang0131/barinsta 2020-11-18 22:06:37 +09:00
Austin Huang
22ab48d84a
New Crowdin updates (#272)
* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Polish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Persian)

* New translations strings.xml (Hindi)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Polish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Persian)

* New translations strings.xml (Hindi)

* Update source file strings.xml

* New translations arrays.xml (Hindi)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Portuguese, Brazilian)

* Update source file strings.xml

* New translations strings.xml (Persian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (French)

* New translations strings.xml (Polish)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (Spanish)

* New translations strings.xml (Hindi)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations arrays.xml (Hindi)

* New translations arrays.xml (Hindi)

* New translations strings.xml (Persian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (French)

* New translations strings.xml (Polish)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (Spanish)

* New translations strings.xml (Hindi)

* Update source file strings.xml

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations arrays.xml (Italian)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Italian)

* New translations strings.xml (Persian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (French)

* New translations strings.xml (Polish)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Czech)

* New translations strings.xml (Spanish)

* New translations strings.xml (Hindi)

* Update source file strings.xml

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (German)

* New translations strings.xml (Hindi)

* New translations arrays.xml (Odia)

* New translations strings.xml (Odia)

* New translations arrays.xml (Odia)

* New translations strings.xml (Indonesian)

* New translations arrays.xml (Catalan)

* New translations strings.xml (Catalan)

* New translations strings.xml (Italian)

* New translations arrays.xml (Catalan)

* New translations strings.xml (Catalan)

* New translations arrays.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Odia)

* New translations strings.xml (Hindi)

* New translations strings.xml (Persian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Polish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Catalan)

* Update source file strings.xml

* New translations strings.xml (French)

* New translations strings.xml (Spanish)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Polish)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Persian)

* New translations strings.xml (Hindi)
2020-11-17 21:47:21 -05:00
ImgBotApp
80146df609
[ImgBot] Optimize images
*Total -- 164.99kb -> 137.66kb (16.56%)

/app/src/main/ic_launcher-round.png -- 136.79kb -> 109.77kb (19.75%)
/fastlane/metadata/android/en-US/images/icon.png -- 28.19kb -> 27.88kb (1.09%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-11-18 01:36:47 +00:00
Austin Huang
3e08d8c5e5
Add files via upload 2020-11-17 20:36:07 -05:00
Austin Huang
957c34b39f
Merge remote-tracking branch 'origin/master' 2020-11-17 20:08:47 -05:00
Austin Huang
45ddfe7659
resource sweep 2020-11-17 20:07:27 -05:00
Austin Huang
354a4b09c8
Update AboutFragment.java 2020-11-17 10:24:09 -05:00
Austin Huang
ad1986804f
Update CrashReporter.java 2020-11-17 10:01:42 -05:00
Austin Huang
dde740aedf
Merge branch 'master' into master 2020-11-15 19:53:23 -05:00
Austin Huang
bf24f56843
redo follower/ing viewer
Follower/ing viewer now uses the i endpoint (which returns more users at once) as well as caching (less requests needed) so its response time has decreased significantly (to 1/3 in my case)
2020-11-15 19:51:00 -05:00
Ammar Githam
b3d41ccffa Some null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/274 2020-11-15 21:55:07 +09:00
Ammar Githam
fececb5fd2 Fix post open animation bug occurring on specific Android 10 devices. Should fix pt. 7 mentioned in https://github.com/austinhuang0131/barinsta/issues/264 2020-11-15 21:47:32 +09:00
Ammar Githam
c3de020f0e Fix Posts not opening for anon users 2020-11-15 15:01:02 +09:00
Ammar Githam
d48c72924a Check for null PostsLayoutPreferences before setting variable in fragments 2020-11-15 04:07:38 +09:00
Ammar Githam
6bfb6e1bf3 Put collapsing toolbar layout views in the main layout to improve scroll behaviour.
This removes the spaghetti required to make scroll behaviours work.
2020-11-15 04:07:38 +09:00
Austin Huang
519d46858b
Delete dialog_main_about.xml 2020-11-14 12:26:05 -05:00
Austin Huang
e046de6443
Revert "Add back missing strings"
This reverts commit 1fe6a0f3f1.
2020-11-14 11:09:44 -05:00