Commit Graph

1688 Commits

Author SHA1 Message Date
stamatiap
892bfa336f Merge branch 'stamatiap/development' of https://github.com/raniapl/barinsta into stamatiap/development 2021-05-16 10:10:52 +03:00
Stamatia Papageorgiou
cdb566a160 Merge branch 'austinhuang0131:master' into stamatiap/development 2021-05-16 10:09:08 +03:00
stamatiap
407f0680c1 make changes in dialog 2021-05-16 10:00:16 +03:00
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)
...
```
2021-05-15 20:40:02 -04:00
Austin Huang
fc70129c96
close #1040 (probably) 2021-05-15 12:53:00 -04:00
Austin Huang
f89f0ef542
add a simple user constructor 2021-05-15 12:52:31 -04:00
Ammar Githam
37edc0171e Pause story player in onPause instead of releasing it. Fixes austinhuang0131/barinsta#1060 2021-05-15 13:27:51 +09:00
Ammar Githam
b3cd83ad31 Fix clicking story from story list after searching opens wrong story. Fixes austinhuang0131/barinsta#1189 2021-05-15 13:21:58 +09:00
Ammar Githam
e4c4f099e5 Make location single line with ellipsis. Fixes austinhuang0131/barinsta#1212 2021-05-15 12:47:22 +09:00
Ammar Githam
e1057c8781 Fix sending videos in DM. Fixes austinhuang0131/barinsta#1217 2021-05-15 12:44:03 +09:00
Ammar Githam
2f44255584 Some refactoring 2021-05-15 11:47:43 +09:00
Ammar Githam
5daec513ba Fix post view button colors wrong for some themes 2021-05-15 11:47:30 +09:00
Ammar Githam
eb1e55470a Fix null menuItemView warnings 2021-05-15 11:46:15 +09:00
Ammar Githam
1e94c73e10 Fix feed stories not rendered if app goes in background immediately after startup. Fixes austinhuang0131/barinsta#1258 2021-05-15 08:21:38 +09:00
Ammar Githam
7797ca3205 BottomNavBar: update deprecated method calls 2021-05-15 07:38:00 +09:00
Ammar Githam
988033f5fd Fix verified, private icons in profile details shifting when scrolling 2021-05-15 07:07:27 +09:00
Ammar Githam
78cfa32a83 Fix navigating away from post view causing app resize 2021-05-15 06:51:33 +09:00
Austin Huang
429bcc4e91
fix #1255 2021-05-14 15:00:31 -04:00
Austin Huang
1e2cf4f3a9
Merge pull request #1229 from raniapl/stamatiap/fixissue1075
fix highlight title - issue #1075
2021-05-14 14:08:23 -04:00
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.
2021-05-14 00:53:23 +09:00
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.
2021-05-11 20:07:10 +09:00
Ammar Githam
413f12c3c2 parse locationId to long before setting to bundle. Fixes austinhuang0131/barinsta#1235 2021-05-11 19:45:28 +09:00
Stamatia Papageorgiou
d9248d2fb9
Merge branch 'master' into stamatiap/development 2021-05-10 22:25:07 +03:00
stamatiap
38b7f29d44 update alert dialog title 2021-05-10 21:54:07 +03:00
stamatiap
13b747fc87 add string for swipe up link confirmation 2021-05-10 21:54:06 +03:00
stamatiap
1f61926108 add default case to switch statement - issue #1101 2021-05-10 21:54:06 +03:00
stamatiap
fdacd1b421 add alert dialog for swipe up link - issue #1101 2021-05-10 21:54:06 +03:00
Ammar Githam
79fe697167 Include textview left padding while calculating last line width in text messages. For austinhuang0131/barinsta#1222 2021-05-10 23:03:37 +09:00
Ammar Githam
3b41cd78bd Remove unnecessary null check 2021-05-10 21:48:44 +09:00
Ammar Githam
f3d5678225 Null checks. Fixes austinhuang0131/barinsta#1221 2021-05-10 21:45:43 +09:00
Ammar Githam
1c5bdb1cca Possible fix for Tmp detached view error. Fixes austinhuang0131/barinsta#1200 2021-05-10 21:39:13 +09:00
Ammar Githam
3cc4f7b7bc Check null url. Fixes austinhuang0131/barinsta#1192 2021-05-10 21:22:35 +09:00
Austin Huang
16381ad522
Merge pull request #1224 from austinhuang0131/renovate/com.google.android.material-material-1.x
Update dependency com.google.android.material:material to v1.4.0-beta01
2021-05-09 18:00:28 -04:00
Ammar Githam
ae356d6601 Add prop to explicitly split apks instead of default 2021-05-10 00:54:06 +09:00
Ammar Githam
870eac1b6a Fix multiple apk build not triggered 2021-05-10 00:21:59 +09:00
stamatiap
1665262fdf fix highlight title - issue #1075 2021-05-09 13:40:05 +03:00
Ammar Githam
b56f3e69e2 Merge branch 'master' into split-abi-apks 2021-05-09 13:32:11 +09:00
Renovate Bot
e26152dbc7
Update dependency com.google.android.material:material to v1.4.0-beta01 2021-05-08 19:29:53 +00:00
Ammar Githam
2f4fe657e9 Allow reacting direct item with any emoji. Fixes austinhuang0131/barinsta#1137 2021-05-09 03:57:47 +09:00
Ammar Githam
5744a1a687 Add fullscreen mode to post view 2021-05-09 02:14:36 +09:00
Ammar Githam
3dde61d91a Show tooltip to make user aware of expandable count. Fix FormattedNumberTextView animation. 2021-05-08 20:22:26 +09:00
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. 2021-05-08 16:42:57 +09:00
Ammar Githam
b64d1409a0 Fix instance leak 2021-05-08 15:52:40 +09:00
Ammar Githam
2f4eff741e Update post view layout and a height related bug. Use exo's internal layout for controls. 2021-05-08 15:49:20 +09:00
Ammar Githam
59c8a325fe Fix collapsing toolbar with covers 2021-05-07 21:19:16 +09:00
Ammar Githam
83475a9bfb Update Android Gradle Plugin to 4.2.0
Also update some dependencies
2021-05-07 20:56:44 +09:00
Ammar Githam
96da16ff84 Convert Post view to a regular fragment instead of dialog.
Added global fragment animations too
2021-05-07 20:34:31 +09:00
Ammar Githam
3bbafc654c Fix some story and mediaretriever bug 2021-05-05 18:07:48 +09:00
Ammar Githam
63dc69e13c Fix for Looper.prepare() 2021-05-03 21:10:46 +09:00
Ammar Githam
d819928eb3 Memory efficient bitmap decoding in DownloadWorker. Fixes austinhuang0131/barinsta#930. 2021-05-03 18:30:50 +09:00