Austin Huang
23b7119846
null check to avoid launch crash
immediately hitting the feed tab after launch will produce the following crash, so this resolves it by a null check:
```
java.lang.NullPointerException: Attempt to read from field 'awais.instagrabber.customviews.PostsRecyclerView awais.instagrabber.databinding.FragmentFeedBinding.feedRecyclerView' on a null object reference
at awais.instagrabber.fragments.main.FeedFragment.scrollToTop(FeedFragment.java:461)
at awais.instagrabber.utils.NavigationExtensions.lambda$setupItemReselected$2(NavigationExtensions.java:190)
at awais.instagrabber.utils.-$$Lambda$NavigationExtensions$C3II1R-NOFB80ERAxio06uf3Qto.onNavigationItemReselected(Unknown Source:4)
...
```
4 years ago
Austin Huang
fc70129c96
close #1040 (probably)
4 years ago
Austin Huang
f89f0ef542
add a simple user constructor
4 years ago
Ammar Githam
37edc0171e
Pause story player in onPause instead of releasing it. Fixes austinhuang0131/barinsta#1060
4 years ago
Ammar Githam
b3cd83ad31
Fix clicking story from story list after searching opens wrong story. Fixes austinhuang0131/barinsta#1189
4 years ago
Ammar Githam
e4c4f099e5
Make location single line with ellipsis. Fixes austinhuang0131/barinsta#1212
4 years ago
Ammar Githam
e1057c8781
Fix sending videos in DM. Fixes austinhuang0131/barinsta#1217
4 years ago
Ammar Githam
2f44255584
Some refactoring
4 years ago
Ammar Githam
5daec513ba
Fix post view button colors wrong for some themes
4 years ago
Ammar Githam
eb1e55470a
Fix null menuItemView warnings
4 years ago
Ammar Githam
1e94c73e10
Fix feed stories not rendered if app goes in background immediately after startup. Fixes austinhuang0131/barinsta#1258
4 years ago
Ammar Githam
7797ca3205
BottomNavBar: update deprecated method calls
4 years ago
Ammar Githam
988033f5fd
Fix verified, private icons in profile details shifting when scrolling
4 years ago
Ammar Githam
78cfa32a83
Fix navigating away from post view causing app resize
4 years ago
Austin Huang
429bcc4e91
fix #1255
4 years ago
Renovate Bot
56a9f42df2
Update dependency androidx.room:room-testing to v2.3.0
4 years ago
Rania Pilioura
78484a86ac
Trying to solve merge conflicts
disable scrolling functionality first try removed
4 years ago
Ammar Githam
cf71ca682e
Update keyboard/emojipicker visiblity logic. Fixes austinhuang0131/barinsta#1181 . Also check description.
This commits adds some special handling for Android 11+ users regarding keyboard visibility. Check https://github.com/android/user-interface-samples/tree/master/WindowInsetsAnimation .
4 years ago
Ammar Githam
1ede8ad4bf
Fix some bottom nav bar related issues. Check description.
1. Fixed inconsistent bottom bar hiding. Since currently bottom bar cannot hide with motionlayout, keep bottom bar visible.
2. Remove unnecessary padding in location and hashtag fragment.
3. Fix the last item in more preference screen hidden under bottom bar.
4 years ago
Ammar Githam
413f12c3c2
parse locationId to long before setting to bundle. Fixes austinhuang0131/barinsta#1235
4 years ago
stamatiap
38b7f29d44
update alert dialog title
4 years ago
stamatiap
13b747fc87
add string for swipe up link confirmation
4 years ago
stamatiap
1f61926108
add default case to switch statement - issue #1101
4 years ago
stamatiap
fdacd1b421
add alert dialog for swipe up link - issue #1101
4 years ago
Ammar Githam
79fe697167
Include textview left padding while calculating last line width in text messages. For austinhuang0131/barinsta#1222
4 years ago
Ammar Githam
3b41cd78bd
Remove unnecessary null check
4 years ago
Ammar Githam
f3d5678225
Null checks. Fixes austinhuang0131/barinsta#1221
4 years ago
Ammar Githam
1c5bdb1cca
Possible fix for Tmp detached view error. Fixes austinhuang0131/barinsta#1200
4 years ago
Ammar Githam
3cc4f7b7bc
Check null url. Fixes austinhuang0131/barinsta#1192
4 years ago
Renovate Bot
86365f95ea
Update dependency androidx.room:room-runtime to v2.3.0
4 years ago
Ammar Githam
ae356d6601
Add prop to explicitly split apks instead of default
4 years ago
Ammar Githam
870eac1b6a
Fix multiple apk build not triggered
4 years ago
stamatiap
1665262fdf
fix highlight title - issue #1075
4 years ago
Renovate Bot
d2bc30bb20
Update dependency androidx.room:room-guava to v2.3.0
4 years ago
Renovate Bot
90e2c44394
Update dependency androidx.room:room-compiler to v2.3.0
4 years ago
Renovate Bot
e26152dbc7
Update dependency com.google.android.material:material to v1.4.0-beta01
4 years ago
Ammar Githam
2f4fe657e9
Allow reacting direct item with any emoji. Fixes austinhuang0131/barinsta#1137
4 years ago
Ammar Githam
5744a1a687
Add fullscreen mode to post view
4 years ago
Rania Pilioura
6502bceb2e
Make AppBarLayout.LayoutParams toolbarLayoutParams final
4 years ago
Ammar Githam
3dde61d91a
Show tooltip to make user aware of expandable count. Fix FormattedNumberTextView animation.
4 years ago
Ammar Githam
fb1f3c2cd8
Due to MotionLayout, the bottom nav bar won't hide on scroll. Instead give recyclerview bottom padding to avoid last row/item being partly hidden.
4 years ago
Ammar Githam
b64d1409a0
Fix instance leak
4 years ago
Ammar Githam
2f4eff741e
Update post view layout and a height related bug. Use exo's internal layout for controls.
4 years ago
Rania Pilioura
247a2b4bf5
Increase profile picture download button margin
Fix #1061
4 years ago
Rania Pilioura
798d646674
Add margin between chat bubble and bottom controls in DM
Fix #1135
4 years ago
Rania Pilioura
8210347e66
Disable scrolling when profile has no posts
Fix #1093
4 years ago
Ammar Githam
59c8a325fe
Fix collapsing toolbar with covers
4 years ago
Ammar Githam
83475a9bfb
Update Android Gradle Plugin to 4.2.0
Also update some dependencies
4 years ago
Ammar Githam
96da16ff84
Convert Post view to a regular fragment instead of dialog.
Added global fragment animations too
4 years ago
Ammar Githam
3bbafc654c
Fix some story and mediaretriever bug
4 years ago