FooIbar
237938b1f0
Check temporary IP ban and refine error translation ( #262 )
...
* Check temporary IP ban and refine error translation
* Fix lint
2023-11-14 10:27:45 +00:00
FooIbar
07009f8bd6
Expose searchFieldState as workaround
...
Until we migrate GalleryListScene to compose
2023-11-14 16:09:23 +08:00
FooIbar
f7ef768c8f
Set default filter mode
2023-11-14 00:37:15 +08:00
FooIbar
d1c3c9a37a
Refine modifyFavorites
2023-11-13 18:23:58 +08:00
Lokesh Gidra
78f15860e0
Check sadpanda in cronet path
2023-11-13 18:23:58 +08:00
Lokesh Gidra
6b11773da9
ModifyFavoritesRange concurrently
...
Order?
2023-11-13 18:23:58 +08:00
Lokesh Gidra
ed26cb8f35
Move modifyFavorites to use cronet
2023-11-13 18:23:58 +08:00
Lokesh Gidra
337f27dc38
Convert ghRequest to use stdlib Base64 impl
2023-11-13 18:23:58 +08:00
FooIbar
97fab45877
Avoid unnecessary overhead
2023-11-13 16:49:01 +08:00
FooIbar
8e8749ed6e
Fix crash when initial composition hasn't been performed
2023-11-13 15:04:02 +08:00
Lokesh Gidra
a0e999576e
Fix comment textfield cursor color
2023-11-13 12:07:44 +08:00
Lokesh Gidra
b29802c260
Keep GalleryDetail comments in sync
2023-11-13 11:32:24 +08:00
Lokesh Gidra
665e5a3d39
Immutable GalleryComment
2023-11-13 11:32:24 +08:00
Lokesh Gidra
c2a2dafb47
Resolve #251
2023-11-13 11:32:24 +08:00
Lokesh Gidra
1d12a16e3d
Resolve #250
2023-11-13 11:32:24 +08:00
Vladimir Dostoyevskiy and Lokesh Gidra
f3fe5f0a75
Support cronetRequest with body ( #248 )
...
* Initial Add RequestBody support for cronetRequest
* Convert modifyFavorites to use cronet
* Code refactor
* Avoid some unnecessary copy
* Suppress NewApi for all managed usage
---------
Co-authored-by: Lokesh Gidra <lokeshgidra@google.com >
2023-11-12 15:45:02 +00:00
Vladimir Dostoyevskiy and Lokesh Gidra
3bad1d06f4
Migrate more to cronet directly ( #247 )
...
* Convert GalleryListParser to parse a DirectByteBuffer
* Convert FavoritesParser to parse a DirectByteBuffer
* Limit buffer size
---------
Co-authored-by: Lokesh Gidra <lokeshgidra@google.com >
2023-11-12 19:29:31 +08:00
FooIbar
70f2bfb760
Fix fab animation
2023-11-12 16:06:36 +08:00
Lokesh Gidra
9e86d42972
Predictive Back for Compose SearchBar
...
https://android-review.googlesource.com/c/platform/frameworks/support/+/2721593
2023-11-12 15:41:41 +08:00
FooIbar
c8ade4d750
Fix recyclerview item disappearing
2023-11-12 01:39:16 +08:00
FooIbar
11b7bbd7ef
Fix search bar text missing
2023-11-11 23:51:48 +08:00
Lokesh Gidra
513bce51ea
Avoid unnecessary recompose in ReaderProgressIndicator
2023-11-11 22:57:04 +08:00
FooIbar
f2c8c5d66d
Mitigate OOM for API < 26
2023-11-11 22:44:55 +08:00
4e08f4f962
Compose Searchbar ( #237 )
...
* Migrate to Compose SearchBar
* Fix searchbar padding
* Fix content padding
* Implement scroll away behaviour
* Reset searchBarOffsetY when expand
* Fix multiple listener
* Fix cursor position
* Fix spotless
---------
Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com >
Co-authored-by: Lokesh Gidra <lokeshgidra@google.com >
2023-11-11 13:03:11 +00:00
FooIbar
a9bd55dff5
Restore fab rotation when showing and hiding ( #235 )
...
* Restore fab rotation when showing and hiding
* Make it rotate in the same direction
2023-11-10 12:29:01 +00:00
FooIbar
5cec825dbe
Clean up duplicate imports
2023-11-10 18:05:20 +08:00
FooIbar
14c5b28cdc
Refactor visibility animation for FabLayout
2023-11-10 16:41:42 +08:00
nullArrayList and Lokesh Gidra
7693b11e0a
Fix wrong SideSheetDialog usage ( #231 )
...
* Fix wrong SideSheetDialog usage
* Do not assume fragmentView first composition earlier than drawerView's
Use MainActivity composition instead
---------
Co-authored-by: Lokesh Gidra <lokeshgidra@google.com >
2023-11-10 05:47:14 +00:00
FooIbar
f9cb49e4d3
Only show commit subjects in changelog
2023-11-10 02:14:56 +08:00
Lokesh Gidra
892a614246
Drop overloadaggressively
...
https://r8.googlesource.com/r8/+/04d49b152b624a437db46e17410bb1cb1e4dd809
2023-11-09 22:34:31 +08:00
FooIbar
4a482d996e
Reduce category min width for small screen devices
...
Tested-on: 4.65" 720x1280
2023-11-09 20:19:41 +08:00
Lokesh Gidra
af9baa8ce4
Convert to use enableEdgeToEdge
2023-11-09 19:39:48 +08:00
Lokesh Gidra
39a11525a9
Rename EMPTY_GALLERY_COMMENT_LIST
2023-11-09 18:20:00 +08:00
Lokesh Gidra
2337dda4eb
Remove EMPTY_GALLERY_TAG_GROUP_ARRAY
...
There is no reason to keep it
emptyList() always return a singleton
2023-11-09 18:20:00 +08:00
Lokesh Gidra
c0a610a02b
Remove GalleryApiInfo
...
No user now
2023-11-09 18:20:00 +08:00
Lokesh Gidra
85f7b54719
Convert GalleryComment to data class
...
Generate equals method for compose
2023-11-09 18:20:00 +08:00
Lokesh Gidra
e0aea2fedf
Convert GalleryTagGroup to data class
...
Generate equals method for compose
2023-11-09 18:20:00 +08:00
Lokesh Gidra
ee83dbb877
Convert GalleryDetail to data class
...
Generate equals method for compose
2023-11-09 18:20:00 +08:00
Lokesh Gidra
1de4bc11eb
Keep primary constructor only
2023-11-09 18:20:00 +08:00
FooIbar
04a7656afa
Fix gallery detail refresh
2023-11-09 16:36:14 +08:00
nullArrayList and Lokesh Gidra
77ec7e76e9
Refactor out animateFloatMergePredictiveBackAsState ( #221 )
...
* Refactor out animateFloatMergePredictiveBackAsState
* Revert EditTextHeight to 80dp
* Fix
* Fix animation when content too long
* Fix double navbar padding
* Fix lazycolumn jumpping
* Fix padding
* Fix padding again
* Refine
---------
Co-authored-by: Lokesh Gidra <lokeshgidra@google.com >
2023-11-09 05:24:42 +00:00
FooIbar
9ca7be081a
Built-in proguard rules are obsolete, use our own
...
Fix regression of #216
2023-11-09 10:30:27 +08:00
FooIbar
fb36346f0b
Fix variable shadowing (regression of #218 )
2023-11-09 09:35:46 +08:00
FooIbar
95679f3fb9
Append skip H@H key to original image url on retry
...
Since original images may be served by H@H now
2023-11-09 01:04:49 +08:00
nullArrayList and Lokesh Gidra
addd4124c1
Initial Predictive back animation support for commentFragment Edittext ( #217 )
...
* Initial Predictive back animation support for commentFragment Edittext
* Fix
---------
Co-authored-by: Lokesh Gidra <lokeshgidra@google.com >
2023-11-08 14:47:24 +00:00
FooIbar
74b79d9faa
Use built-in proguard rules and @Keep annotation
...
`-keepattributes LineNumberTable,SourceFile` is not needed since R8 v8.2
APK size is increased by 1.7% though
2023-11-08 22:45:24 +08:00
nullArrayList and Lokesh Gidra
9daa05ef02
Enable Predictive Back ( #214 )
...
* Enable Predictive Back
Tested with UP1A.231005.007, no bugs
* Fix Wrong SDK behaviour
---------
Co-authored-by: Lokesh Gidra <lokeshgidra@google.com >
2023-11-08 19:06:41 +08:00
FooIbar
dba7f4e6c0
Fix inconsistent refresh state
...
Don't save it as `onRestoreInstanceState` will be called after loading
state has settled
2023-11-08 16:55:30 +08:00
FooIbar
2ae3effc0e
Move updates check to MainActivity
2023-11-08 16:09:45 +08:00
Lokesh Gidra
5b450ff18f
Fix not filter all comments
2023-11-08 12:33:26 +08:00