Ammar Githam
126a0f7f4b
Preparing migration to Room
2020-12-07 19:47:03 +09:00
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
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
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
b2e784deb8
close #306 and close #310
2020-11-30 12:29:41 -05: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
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
c1b5094dc7
Move activity notification viewer to its own nav graph. Fixes https://github.com/austinhuang0131/barinsta/issues/247
2020-11-11 20:04:38 +09:00
Ammar Githam
ebea1404c9
Add nav controller livedata null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/196
2020-11-11 19:27:14 +09:00
Ammar Githam
abd6dd1143
Wrapping super.onDestroy in try-catch in MainActivity to workaround NavController crash
2020-11-10 21:46:31 +09:00
Ammar Githam
e530a336a7
Scroll feed to top when bottom feed tab clicked
2020-11-07 20:26:20 +09:00
Ammar Githam
25b2b504cb
save resource entry names in preferences instead of ids
2020-11-07 16:27:49 +09:00
Ammar Githam
450dbba6de
Fix direct downloading and delete action when there are multiple image notifications
2020-11-06 03:37:17 +09:00
Ammar Githam
bdcb32395b
Various DM fixes (check description)
...
Use new download flow.
Fix blank space at top when scrolling.
Fix animated media.
2020-11-04 23:58:06 +09:00
Ammar Githam
850e119236
Allow opening PostViewV2Fragment from NotificationsViewerFragment, StoryViewerFragment and when opening from a Share dialog
2020-11-04 20:24:53 +09:00
Ammar Githam
efd9a9c29d
Update Discover tab
2020-11-01 15:02:54 +09:00
Ammar Githam
6bf59e83ad
Initial commit for new posts layout
2020-10-17 19:07:03 +09:00
Ammar Githam
cbc7e5447f
Removing StorageUtil lib for the timebeing
2020-09-21 21:08:14 +09:00
Austin Huang
3e3c39ae4b
sd card test
2020-09-20 22:36:34 -04:00
Ammar Githam
7ea2ae853a
Fix Android Q leak. Reported by LeakCanary, more details here: https://issuetracker.google.com/issues/139738913
2020-09-21 03:45:58 +09:00
Ammar Githam
444c51a36d
Reselect proper tab immediately after logging off
2020-09-19 18:48:58 +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
15eed4137a
Fix previous themes and add Material Dark theme (needs improvements)
2020-09-14 23:17:35 +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
08134ef5f1
Add activity checker service
2020-09-12 00:51:00 +09:00
Ammar Githam
37912854d0
Add activity/notification view fragment
2020-09-11 22:27:09 +09:00
Austin Huang
c9bd85cbf3
new about fragment
2020-09-10 15:29:02 -04:00
Ammar Githam
80044b5daf
Break down Utils into separate utility classes as Utils was getting bloated
2020-09-10 20:44:25 +09:00
Ammar Githam
00762c85e6
Add account switcher in MorePreferencesFragment
2020-09-10 19:39:10 +09:00
Ammar Githam
149410d552
Hide search if default tab is not profile
2020-09-09 00:55:28 +09:00
Ammar Githam
6b221c463b
Handle bottom nav and settings when logged out
2020-09-08 19:46:21 +09:00
Ammar Githam
8b502561c2
Specifically set Profile nav graph as default instead of using index, as the index may change if manNavList order is changed
2020-09-08 19:29:16 +09:00
Austin Huang
2d44033d3c
small polishings (see description)
...
* General (makeshift): Set default first-tab to be profile, adjust search button appearance logic, add fragment labels
* DM inbox items: Adjust group chat avatar sizes, reinstate unread indicators
* DM thread: Swap buttons per spirit of #122
* Profile: Fix story fetcher logic
* Story: Fix bug where first story can't scroll to next user, unify subtitle to timestamp, swap buttons per #122
* Comment: Unfocus replying comment when X is pressed
2020-09-07 16:01:44 -04:00
Ammar Githam
ccfaa1c397
Open post from dm thread and handle ig links properly from within the app
2020-09-07 22:44:56 +09:00
Ammar Githam
0d7b5199ea
Reorganise settings, add update check setting
2020-09-07 22:08:49 +09:00
Ammar Githam
95b362970b
Remove unused files
2020-09-07 21:21:36 +09:00
Ammar Githam
466ac22d23
Handle intents (urls/share) from outside the app
2020-09-07 21:17:06 +09:00
Ammar Githam
17a5f978e8
Add setting for choosing default tab
2020-09-07 00:37:05 +09:00
Ammar Githam
c9d342471b
Add update checker back, with updated handling. Check description.
...
FlavorTown will check if current app was installed from F-droid and not show the update dialog if true.
You can now skip an update.
You can now force check for an update by clicking More -> Version (even if you set to skip the update).
2020-09-06 22:27:41 +09:00
Ammar Githam
7e8fdda81b
Add updated profile pic viewer, and view stories from profile.
2020-09-06 18:25:27 +09:00
Ammar Githam
d967463493
Move fragments to their proper place
2020-09-06 02:05:43 +09:00
Ammar Githam
89bb79a8fc
Add search back!
2020-09-06 02:02:54 +09:00
Ammar Githam
437162639f
Fix null favourites menu item, and add pull to refresh in feed
2020-09-05 16:59:43 +09:00
Ammar Githam
cc9348d8c5
Fix DM fragments, comment out deprecated activities
2020-09-05 16:16:11 +09:00
Ammar Githam
290ed50287
Convert follower activity to fragment
2020-09-05 03:19:06 +09:00
Ammar Githam
c64ae3a101
Convert comment viewer activity to fragment and update layouts
2020-09-05 02:38:36 +09:00
Austin Huang
0694cf02e3
Merge branch 'master' into task/update-feed-view
2020-09-03 12:00:20 -04:00
Ammar Githam
93fc9d82b9
Converted SavedViewer activity to fragment
2020-09-04 00:15:53 +09:00
Austin Huang
885097341e
Update PostViewer.java
2020-09-03 10:00:01 -04:00
Ammar Githam
034dbfa147
Add like and save actions to post viewer fragment
2020-09-03 20:08:04 +09:00