Commit Graph

115 Commits

Author SHA1 Message Date
Ammar Githam b4d3709da5 Explicitly add http scheme if missing. Fixes austinhuang0131/barinsta#1642 2021-07-13 21:15:11 +09:00
Ammar Githam a9b9f8e2a8 Wrap show keyboard logic in try catch. Fixes austinhuang0131/barinsta#1482 2021-07-12 22:39:44 +09:00
Ammar Githam 05f8b1b8e3 Migrate Navigation to 2.4.0-alpha4
1. 2.4.0 introduces multistack navigation. Which removes the need for NavigationExtensions
2. Organised all nav graphs into a single graph to remove global action redundancy.
2021-07-03 21:36:34 +09:00
Austin Huang 832641603a
validate uri before writing pref
also made pref summary up-to-date
2021-06-22 12:12:42 -04:00
Austin Huang f961c422ca
Merge branch 'master' into pr/934 2021-06-13 12:02:51 -04:00
Ammar Githam 631d55af85 Convert InstaGrabberApplication to kotlin 2021-05-28 08:49:41 +09:00
Austin Huang 2395b3b892
remake date formatter 2021-05-23 20:51:29 -04:00
Ammar Githam 027d2c634a Show post view toasts near the views 2021-05-23 11:47:15 +09: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 5744a1a687 Add fullscreen mode to post view 2021-05-09 02:14:36 +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 074ee18c9d Improve comments viewer ui and ux. Update ui for likes viewer and follows viewer. 2021-05-02 18:16:25 +09:00
Ammar Githam cdbaf95589 Surround setPrimaryClip with try catch. Fixes austinhuang0131/barinsta#1133 2021-04-25 16:25:58 +09:00
Ammar Githam 9ea7c2c3af Set new uri path to a different PreferenceKey to maintain ability to downgrade. 2021-04-09 20:18:41 +09:00
Ammar Githam ef847321dc No more scanning 2021-04-08 09:02:18 +09:00
Ammar Githam bca38a2645 Fix audio recording in dm 2021-04-06 00:51:01 +09:00
Ammar Githam 9b691a453e Remove read/write storage permissions.
Add an activity to select directory.
2021-04-04 23:53:10 +09:00
Ammar Githam 7848b60b97 Merge branch 'master' into support-android-11 2021-04-04 09:06:26 +09:00
Ammar Githam c5786a6843 Set tabOrderString value with default graph names when its empty 2021-04-03 20:48:21 +09:00
Ammar Githam e2c15e76b8 Revert "Get tabOrderString always from settings, so that it's not stale if preferences were updated"
This reverts commit b1dd0e6e3c.
2021-04-03 20:45:02 +09:00
Ammar Githam b1dd0e6e3c Get tabOrderString always from settings, so that it's not stale if preferences were updated 2021-04-03 20:41:35 +09:00
Ammar Githam bde319ecd4 1. Fix NavDirection compile issue.
2. Fix null pointer if tab order pref is null.
3. Set initial tab order in pref if empty.
2021-04-03 20:23:03 +09:00
Ammar Githam 7c0acdbd6e Migrate File usage to DocumentFile 2021-04-03 19:53:01 +09:00
Austin Huang 23611df3fe
make isNavRootInCurrentTabs consistent, show/hide explore 2021-04-02 12:01:29 -04:00
Ammar Githam 91c70b778a Move downloads to Environment downloads folder 2021-04-02 01:42:21 +09:00
Ammar Githam b80ae2fcfe Get 'show bottom destinations' from tabs. Add Activity to list of available tabs. 2021-03-25 01:23:33 +09:00
Ammar Githam 9fe896bc65 Customise screen/tab order 2021-03-24 22:24:36 +09:00
Ammar Githam 8e32958da6 Keep screen on while video is playing. Closes https://github.com/austinhuang0131/barinsta/issues/490 2021-03-20 13:33:37 +09:00
Austin Huang 8a0f119970
disable LogCollector 2021-03-18 21:20:15 -04:00
Austin Huang 9b0fea6906
update signing mechanism 2021-03-17 14:13:04 -04:00
Austin Huang 9bf72b2781
make signing simpler shall we 2021-03-16 19:30:54 -04:00
Ammar Githam cc8f14b562 Fix Animatable drawable class cast issue on sdk lower than 24. Fixes https://github.com/austinhuang0131/barinsta/issues/794 2021-03-16 21:29:12 +09:00
Ammar Githam 13d95523a3 Swipe to reply 2021-01-17 03:09:07 +09:00
Austin Huang b2917e3d63
Merge branch 'master' into dm-notifications-enhancements 2021-01-06 13:25:06 -05:00
Austin Huang c8dda21f9f
chore/cleanup 2021-01-05 23:37:16 -05:00
Ammar Githam e1d8e02630 Update DM settings page 2021-01-03 18:55:19 +09:00
Ammar Githam d42d4dd3ea Merge branch 'master' into dm-notifications-enhancements 2021-01-02 13:00:14 +09:00
Ammar Githam 343b2cf9d7 Update DM module. (WIP)
Remove left over images


DM update (WIP)

Update DM module. (WIP)


Update DM module. (WIP)
2021-01-02 11:54:32 +09:00
Austin Huang f325d07a84
fix #478 2020-12-30 13:49:01 -05:00
Ammar Githam 126a0f7f4b Preparing migration to Room 2020-12-07 19:47:03 +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
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 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
Ammar Githam 1c6cd348f4 Make buttons in PostView dialog title-less, and show the titles on long click 2020-11-07 02:57:22 +09:00
Ammar Githam 9b83c5e832 More updated. Handle clicks. Updated comments viewer, etc 2020-10-24 18:10:21 +09:00
Ammar Githam 6bf59e83ad Initial commit for new posts layout 2020-10-17 19:07:03 +09:00
Ammar Githam 05c0937c6f Add Backup and restore. Update DirectoryChooser UI.
The updated backup and restore is backward compatible with old backup files. Just have updated the default file name and extension for newer backups.
2020-09-21 03:52:34 +09:00
Ammar Githam cf974a74f3 Add favorites, also fixes the hashtag follow, and some theming 2020-09-19 04:18:14 +09:00
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.
2020-09-13 19:21:14 +09:00
Ammar Githam 122d84fbf2 No more requireContext() as it is fail first. Instead use getContext() and check for null. 2020-09-12 17:51:50 +09:00