Commit Graph

1723 Commits

Author SHA1 Message Date
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
Rania Pilioura
6502bceb2e Make AppBarLayout.LayoutParams toolbarLayoutParams final 2021-05-08 14:59:24 +03: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
Rania Pilioura
247a2b4bf5 Increase profile picture download button margin
Fix #1061
2021-05-08 06:58:43 +03:00
Rania Pilioura
798d646674 Add margin between chat bubble and bottom controls in DM
Fix #1135
2021-05-08 06:45:10 +03:00
Rania Pilioura
8210347e66 Disable scrolling when profile has no posts
Fix #1093
2021-05-08 06:35:57 +03: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
Ammar Githam
b2822b27a1 Fixes austinhuang0131/barinsta#1199 2021-05-03 17:40:06 +09:00
Ammar Githam
9dae40fae0 More null checks. Probably resolves austinhuang0131/barinsta#992 2021-05-03 17:31:00 +09:00
Ammar Githam
1dfe5f623c Use Toast instead of SnackBar. Probable workaround for austinhuang0131/barinsta#1027 2021-05-03 17:18:41 +09:00
Ammar Githam
109d08c59f Always return new RetrofitFactory instance. Fixes austinhuang0131/barinsta#1099. 2021-05-03 17:10:20 +09:00
Ammar Githam
ac3f8b9bfd Wrapping ViewModelProvider constructor with try-catch to prevent crashes. Addresses austinhuang0131/barinsta#903. 2021-05-03 16:52:08 +09:00
Ammar Githam
a6e9a34024 Switch to use exo controls 2021-05-03 03:16:40 +09:00
Ammar Githam
d8f476ea66 Fix build 2021-05-02 20:02:03 +09:00
Ammar Githam
074ee18c9d Improve comments viewer ui and ux. Update ui for likes viewer and follows viewer. 2021-05-02 18:16:25 +09:00
Austin Huang
18292ead4e
close #1196 2021-04-30 19:16:10 -04:00
Austin Huang
e4f224763a
oops 2021-04-30 11:36:37 -04:00
Austin Huang
a352ca6bf2
removing redundant element 2021-04-30 11:35:11 -04:00
stamatiap
990cb8fdcd make needed changes - issue #1047 2021-04-28 20:36:25 +03:00
stamatiap
a5759b6c1b fix Add to favorites button's visibility - issue #1047 2021-04-28 20:36:25 +03:00
Ammar Githam
1cd75f2462 Popup to first fragment on tab reselect. Closes austinhuang0131/barinsta#1079 2021-04-29 01:38:46 +09:00
Ammar Githam
8f4691a72a Handle possible exception on MainActivity destroy. Fixes part of austinhuang0131/barinsta#1099 2021-04-29 00:34:54 +09:00
Ammar Githam
1a57c4c813 Handle no map app. Fixes austinhuang0131/barinsta#1175 2021-04-29 00:22:13 +09:00
Ammar Githam
c0fb6e3a50 Fix comments input color in dark black theme. Fixes austinhuang0131/barinsta#1062 2021-04-29 00:14:12 +09:00
Ammar Githam
6df5bc056c Fix tapping search input not showing keyboard the first time 2021-04-28 23:16:35 +09:00
Austin Huang
67b8bd9a2f
Merge pull request #1168 from austinhuang0131/renovate/androidx.camera-camera-camera2-1.x
Update dependency androidx.camera:camera-camera2 to v1.1.0-alpha04
2021-04-26 18:14:06 -04:00
Austin Huang
98c80a5cd3
New Crowdin updates (#1045)
* New translations arrays.xml (Chinese Traditional)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Spanish)

* New translations strings.xml (Czech)

* New translations arrays.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Greek)

* New translations strings.xml (Czech)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations arrays.xml (Greek)

* New translations strings.xml (Greek)

* New translations arrays.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations arrays.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations arrays.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* Update source file strings.xml

* New translations strings.xml (Polish)

* New translations strings.xml (Slovak)

* 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 (Dutch)

* 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 (Greek)

* New translations strings.xml (Swedish)

* New translations strings.xml (French)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Russian)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Catalan)

* New translations strings.xml (Basque)

* New translations strings.xml (Odia)
2021-04-26 18:13:34 -04:00
Renovate Bot
0b2a955f38
Update dependency androidx.camera:camera-camera2 to v1.1.0-alpha04 2021-04-26 22:12:56 +00:00
Austin Huang
409d8c928d
Merge pull request #856 from austinhuang0131/renovate/androidx.camera-camera-view-1.x
Update dependency androidx.camera:camera-view to v1.0.0-alpha24
2021-04-26 18:09:38 -04:00
Austin Huang
f88bc49c30
Merge pull request #1077 from ammargitham/feature/search-history
Search history with separate search fragment
2021-04-26 17:53:20 -04:00
Austin Huang
df7644f0df
Merge pull request #1113 from tcely/patch-1
Open instagr.am links too
2021-04-26 17:41:41 -04:00
ImgBotApp
57fa307782
[ImgBot] Optimize images
*Total -- 113.62kb -> 101.65kb (10.54%)

/app/src/main/res/drawable/ic_hashtag.png -- 5.45kb -> 2.51kb (53.88%)
/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png -- 4.20kb -> 2.22kb (47.07%)
/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png -- 2.73kb -> 1.64kb (39.91%)
/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png -- 1.35kb -> 0.99kb (26.5%)
/app/src/main/res/mipmap-hdpi/ic_launcher_background.png -- 0.91kb -> 0.76kb (16.16%)
/app/src/main/res/drawable/barinsta_logo.png -- 48.03kb -> 44.37kb (7.63%)
/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -- 17.47kb -> 16.60kb (4.97%)
/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png -- 33.48kb -> 32.54kb (2.79%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-04-26 21:36:56 +00:00
Austin Huang
64be939cb5
Merge pull request #1128 from The-EDev/master
Changed icon to use separate foreground and background
2021-04-26 17:36:22 -04:00
Ammar Githam
8820779303 Handle long clicks. Fixes austinhuang0131/barinsta#1117 2021-04-25 20:58:02 +09:00
Ammar Githam
cdbaf95589 Surround setPrimaryClip with try catch. Fixes austinhuang0131/barinsta#1133 2021-04-25 16:25:58 +09:00
Ammar Githam
3e06cb2079 Null check. Fixes austinhuang0131/barinsta#1125 2021-04-25 16:18:58 +09:00
Ammar Githam
7658cacbc2 Wrap navigate calls with try catch to prevent double click exceptions. Closes austinhuang0131/barinsta#1132, austinhuang0131/barinsta#1150, austinhuang0131/barinsta#1156 2021-04-25 16:08:43 +09:00
tcely
b741ff9ccb
Replace instagr.am with instagram.com 2021-04-23 22:36:12 -04:00
Renovate Bot
ffe4dbe8b9
Update dependency androidx.camera:camera-view to v1.0.0-alpha24 2021-04-21 18:58:06 +00:00
The-EDev
95dacbfb08 Changed icon to use separate foreground and background. 2021-04-18 15:37:39 +03:00
Ammar Githam
627b1bfe76 Null check and fragment manager check. Fixes https://github.com/austinhuang0131/barinsta/issues/1116 2021-04-18 16:46:36 +09:00
Austin Huang
42e4580209
Merge remote-tracking branch 'origin/master' 2021-04-17 16:24:31 -04:00
Austin Huang
a1091d7340
close #661 2021-04-17 16:24:21 -04:00
tcely
fdcc6768bc
Open instagr.am links too 2021-04-16 14:56:32 -04:00
Ammar Githam
732153f8bb Fix some codefactor warnings 2021-04-15 23:40:55 +09:00
Ammar Githam
81a55151c1 Fix styles 2021-04-15 23:33:00 +09:00
Ammar Githam
1ee12f71f4 Merge branch 'master' into feature/search-history 2021-04-15 22:35:31 +09:00
Ammar Githam
cfd1d4a421 Null check csrf token 2021-04-14 21:17:24 +09:00
Ammar Githam
eed4036ad9 Fix setItemsToThread. Fixes https://github.com/austinhuang0131/barinsta/issues/967 2021-04-14 21:17:07 +09:00
Ammar Githam
f2a3506b19 Make refreshStory synchronised? May fix https://github.com/austinhuang0131/barinsta/issues/945 2021-04-14 20:48:42 +09:00
Ammar Githam
d4ee1b9f42 Set click listener on parent view. Fixes https://github.com/austinhuang0131/barinsta/issues/1055 2021-04-14 20:23:42 +09:00
Ammar Githam
34e54837d5 Create new caption object if null. Fixes https://github.com/austinhuang0131/barinsta/issues/1030 2021-04-14 20:17:00 +09:00
Ammar Githam
de9891f368 Add null check. Fixes https://github.com/austinhuang0131/barinsta/issues/1078 2021-04-14 01:27:31 +09:00
Ammar Githam
af3670e3ec Add fragment manager destroyed checks. Fixes https://github.com/austinhuang0131/barinsta/issues/1068 2021-04-14 01:16:32 +09:00
Ammar Githam
ea2956f3ca Add state saved check before show. Fixes https://github.com/austinhuang0131/barinsta/issues/1071. 2021-04-14 01:08:08 +09:00
Ammar Githam
548582a6d2 Fix options menu item background in dark black theme. Fixes https://github.com/austinhuang0131/barinsta/issues/1076 2021-04-14 01:02:42 +09:00
Ammar Githam
e69fc28ab2 Merge branch 'master' into feature/search-history 2021-04-14 00:18:25 +09:00
Ammar Githam
c859669ac1 Add search fragment with recent searches 2021-04-14 00:17:23 +09:00
Austin Huang
6328a66fe4
New Crowdin updates (#962)
* New translations strings.xml (Japanese)

* New translations strings.xml (Spanish)

* New translations strings.xml (Italian)

* New translations strings.xml (French)

* New translations strings.xml (Italian)

* New translations strings.xml (Polish)

* New translations strings.xml (Polish)

* New translations strings.xml (Russian)

* New translations strings.xml (Russian)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations arrays.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Greek)

* New translations strings.xml (Spanish)

* New translations strings.xml (Russian)

* New translations strings.xml (Slovak)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Dutch)

* New translations strings.xml (Vietnamese)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Hindi)

* New translations strings.xml (Persian)

* New translations strings.xml (Basque)

* New translations strings.xml (Polish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Greek)

* New translations strings.xml (French)

* New translations strings.xml (Macedonian)

* New translations strings.xml (Czech)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Odia)

* Update source file strings.xml

* New translations strings.xml (Chinese Simplified)
2021-04-11 11:28:49 -04:00
Austin Huang
14ed5e9364
release prep 2021-04-11 10:11:40 -04:00
Austin Huang
d8d47befab
favorite tab for anons 2021-04-11 10:07:28 -04:00
Austin Huang
d326d9e2d7
visual optimizations for the previous commit 2021-04-11 09:54:25 -04:00
Austin Huang
84d82e92d3
made play in background an option per https://redd.it/mmpeg9 2021-04-11 09:45:38 -04:00
Austin Huang
23a5ae8405
fix picture zooming issue
Co-Authored-By: Ammar Githam <ammargitham786@gmail.com>
2021-04-09 09:06:53 -04:00
Ammar Githam
99431fd077 Null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/981 2021-04-09 20:05:18 +09:00
Ammar Githam
977ccce22c Null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/990 2021-04-09 19:57:56 +09:00
Ammar Githam
1c1e5f0654 Null check. Fixes https://github.com/austinhuang0131/barinsta/issues/991 2021-04-09 19:54:38 +09:00
Ammar Githam
f570ea6146 Null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/992 2021-04-09 19:51:37 +09:00
Ammar Githam
1fdd9077d5 Remove invalid gifs before submitting to adapter. Fixes https://github.com/austinhuang0131/barinsta/issues/1013 2021-04-09 19:36:11 +09:00
Ammar Githam
bb29e847f5 Check for all dm related values before initializing. Fixes https://github.com/austinhuang0131/barinsta/issues/1019 2021-04-09 19:29:38 +09:00
Ammar Githam
abd6fa1c28 Null check. Fixes https://github.com/austinhuang0131/barinsta/issues/1021 2021-04-09 19:13:59 +09:00
Austin Huang
a2f73eeb2d
actually add getHideMutedReelsPreference 2021-04-07 07:36:21 -04:00