tarsin
97becdb7e3
Fix to use NonCancellable coroutine ctx
...
Now that it's suspend
2023-03-29 18:29:40 +08:00
tarsin
929766b177
Fix to use suspend mutex
2023-03-29 18:23:55 +08:00
tarsin
2db6f7a9ae
Modify .nomedia status in background thread
2023-03-29 13:18:55 +08:00
tarsin
175f75c3a2
Obey new m3 drawer design token
2023-03-27 16:19:22 +08:00
tarsin
32a770b9b5
Convert to use window size class
2023-03-26 18:34:59 +08:00
tarsin
379422f457
Reformat code
2023-03-26 18:07:21 +08:00
hathlife
3519756da3
Initial support of adaptive landscape layout with
...
jetpack compose.
2023-03-26 17:39:38 +08:00
tarsin
c7d9697b92
Adjust comment and preview spacer
2023-03-25 17:35:16 +08:00
tarsin
66053895ad
Fixup card flavour usage
2023-03-25 17:27:53 +08:00
tarsin
d7c21e06ad
Fix tag search
2023-03-25 11:46:53 +08:00
小白-白
97733ca337
Fix save img
2023-03-24 08:21:08 +08:00
tarsin
1a0474420b
Fix old data offset
2023-03-23 16:40:47 +08:00
tarsin
f1c1f2dbe8
Let room generate kotlin
2023-03-23 16:14:26 +08:00
tarsin
f81ca0688e
Workaround for drawerLayout handle OnBackPressedInvoked only above API 33
2023-03-23 13:03:49 +08:00
tarsin
095a9149b4
Let DrawerLayout handle OnBackPressedInvoked internally
2023-03-23 12:38:57 +08:00
tarsin
8924d36925
Tidy native function namespace
2023-03-22 17:48:10 +08:00
tarsin
8a39bf6ac8
Cleanup and prepare to directly rename image blob from cache to download
2023-03-22 16:51:01 +08:00
tarsin
a6b4f05f7f
Fix copy to download dir in mixed mode
2023-03-22 12:27:01 +08:00
tarsin
34c39464ae
Adjust icon usage
2023-03-22 11:02:37 +08:00
tarsin
3dd45c1628
Fix crash
...
java.lang.IllegalStateException: Fragment GalleryDetailScene{b6e25c2} (70626de1-16ff-47db-b4eb-e3358b5f53fc) not attached to a context.
at androidx.fragment.app.Fragment.requireContext(Unknown Source:17)
at androidx.fragment.app.Fragment.getResources(Unknown Source:0)
at androidx.fragment.app.Fragment.getString(Unknown Source:0)
at com.hippo.ehviewer.ui.scene.GalleryDetailScene.updateDownloadText(Unknown Source:93)
at com.hippo.ehviewer.ui.scene.GalleryDetailScene.bindViewSecond(Unknown Source:68)
at com.hippo.ehviewer.ui.scene.GalleryDetailScene$request$1.com.hippo.ehviewer.ui.scene.GalleryDetailScene.access$bindViewSecond(Unknown Source:131)
invokeSuspend
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:113)
at kotlinx.coroutines.internal.LimitedDispatcher.run(Unknown Source:12)
at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(Unknown Source:93)
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker
run
Suppressed: qs: [Is0{Cancelling}@bfcdc0e, Dispatchers.IO]
2023-03-22 11:01:08 +08:00
tarsin
47c9e07857
Allow larger read cache
2023-03-18 21:30:47 +08:00
tarsin
6d8208d7f4
Allow preload thumbs aggressively
2023-03-18 21:09:20 +08:00
tarsin
946e76c3cc
Make galleryDetail preview footer still a textbutton, but no nestScroll
2023-03-17 21:52:50 +08:00
tarsin
2ea06425f4
Add trailingIcon to block uploader
2023-03-17 21:34:04 +08:00
tarsin
95ca7b23d3
Restore click tip to refresh
2023-03-17 21:28:13 +08:00
tarsin
ca6eb03f1e
Fix edge to edge
2023-03-17 21:21:07 +08:00
tarsin
8831a41bff
Fix no tag hint arrangement
2023-03-17 21:16:30 +08:00
tarsin
6418beb186
Fix GalleryDetailScene comment
2023-03-17 21:13:24 +08:00
tarsin
ebbc5cdc2c
Restore galleryDetail Comment
...
Any better way to implement this?
2023-03-17 21:01:44 +08:00
tarsin
abceb71dcb
Cleanup legacy code
2023-03-17 20:39:06 +08:00
tarsin
7ab898ee85
Cleanup GalleryDetailScene
2023-03-17 20:37:55 +08:00
tarsin
904840c4cb
Fix card style
2023-03-17 20:12:32 +08:00
tarsin
ecd39f5435
Fix clip preview crop
2023-03-17 20:01:42 +08:00
tarsin
7742b2c570
Stub impl of preview image clip
...
this way sucks, later we will clip it with compose method
2023-03-17 19:07:34 +08:00
tarsin
89b20b3cda
Apply proper crop
2023-03-17 18:31:53 +08:00
tarsin
4b0f62e058
Use normal lazyGrid
2023-03-17 18:19:10 +08:00
tarsin
f7281a7481
Restore preview items
2023-03-17 18:11:30 +08:00
tarsin
ae38fecae7
Restore preview hint
2023-03-17 17:42:34 +08:00
tarsin
f5577d45c5
Restore preview padding
2023-03-17 17:32:11 +08:00
tarsin
0b45c41a99
Convert to LazyVerticalStaggeredGrid, preparing add previews
2023-03-17 17:28:22 +08:00
tarsin
9b74e7fdec
Optimize recompose
2023-03-17 17:05:08 +08:00
tarsin
b522360357
Restore GalleryDetailScene popmenu
2023-03-17 16:53:02 +08:00
tarsin
109cb776a0
limit max title lines
2023-03-17 16:42:33 +08:00
tarsin
9fdc55814d
Restore navback icon
2023-03-17 16:41:04 +08:00
tarsin
2079a90f02
Fix scroll behaviour
2023-03-17 16:36:53 +08:00
tarsin
7fdf90e87d
First stub migrate whole GalleryDetailScene to compose
2023-03-17 16:17:13 +08:00
tarsin
f7bc2e2cf7
Use partial function
2023-03-17 13:21:45 +08:00
tarsin
9d442b9b18
Fix non-local return in Composable cause internal error
...
They should have a check in compose compiler...
2023-03-17 12:38:26 +08:00
tarsin
3c777905f5
Cleanup res
2023-03-17 00:19:27 +08:00
tarsin
c91bbc94fd
Apply alpha to weak tag
2023-03-16 23:47:38 +08:00