Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upstream #1211

Closed
wants to merge 74 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
c188307
Add files via upload
LuftVerbot Jul 24, 2023
c1b7b89
Update README.md
LuftVerbot Jul 24, 2023
a883c90
Delete ic_launcher.png
LuftVerbot Jul 24, 2023
928a62c
Update README.md
LuftVerbot Jul 24, 2023
c3062d2
merge1
LuftVerbot Oct 4, 2023
5a2a3fd
fuck lint
LuftVerbot Oct 4, 2023
5ceae31
merge2
LuftVerbot Oct 4, 2023
14a8aeb
merge3
LuftVerbot Oct 4, 2023
2ebf477
merge4
LuftVerbot Oct 4, 2023
f705e19
merge5
LuftVerbot Oct 5, 2023
b3c911e
merge6
LuftVerbot Oct 6, 2023
e99e4c2
merge7
LuftVerbot Oct 6, 2023
c62f86f
merge8
LuftVerbot Oct 21, 2023
67d3043
Merge branch 'aniyomiorg:master' into MR
LuftVerbot Oct 21, 2023
c85576e
merge9
LuftVerbot Oct 22, 2023
da3265f
merge10
LuftVerbot Oct 22, 2023
febf046
fuck lint
LuftVerbot Oct 22, 2023
c19b4b5
fuck lint (again)
LuftVerbot Oct 22, 2023
dfb5ca4
Merge remote-tracking branch 'upstream/master' into MR
LuftVerbot Oct 23, 2023
d78159b
Translations update from Hosted Weblate (#9531)
weblate Jun 3, 2023
974d3b5
Revert "Translations update from Hosted Weblate (#9531)"
LuftVerbot Oct 23, 2023
3a8e7d0
Translations update from Hosted Weblate (#9531)
weblate Jun 3, 2023
e282528
Revert "Translations update from Hosted Weblate (#9531)"
LuftVerbot Oct 23, 2023
5d575f1
Merge remote-tracking branch 'upstream/master' into MR
LuftVerbot Oct 26, 2023
b9333be
fix download button not shown
LuftVerbot Oct 26, 2023
564a959
Merge remote-tracking branch 'origin/master' into MR
LuftVerbot Oct 27, 2023
f51b36a
merge11
LuftVerbot Oct 27, 2023
7e14b6d
Merge remote-tracking branch 'upstream/master' into MR
LuftVerbot Oct 27, 2023
5b1099d
Update AdaptiveSheet.kt
LuftVerbot Oct 27, 2023
692b566
revert subs commit
LuftVerbot Oct 27, 2023
c6317e9
Update AdaptiveSheet.kt
LuftVerbot Oct 27, 2023
2431d8a
merge12
LuftVerbot Oct 27, 2023
f0783f5
feat(player): Subtitle settings + refactor + crash fixes (#1152)
quickdesh Oct 27, 2023
6dd16ca
Merge branch 'master' into MR
LuftVerbot Oct 28, 2023
03ee4bc
merge13
LuftVerbot Oct 28, 2023
9bb1a5d
Merge branch 'master' into MR
LuftVerbot Oct 29, 2023
fd1c643
merge14
LuftVerbot Oct 29, 2023
f3ec9da
Merge branch 'master' into MR
LuftVerbot Oct 31, 2023
f0180e0
rework anime downloader
LuftVerbot Nov 1, 2023
5415cbb
Update AnimeDownloader.kt
LuftVerbot Nov 1, 2023
9509d09
Update AnimeDownloader.kt
LuftVerbot Nov 1, 2023
8f08a24
Merge branch 'master' into MR
LuftVerbot Nov 2, 2023
d2ccb75
Merge branch 'master' into MR
LuftVerbot Nov 2, 2023
dd69ce5
Merge branch 'master' into MR
LuftVerbot Nov 3, 2023
264b0e6
merge15
LuftVerbot Nov 3, 2023
6bab100
Update ReaderActivity.kt
LuftVerbot Nov 3, 2023
184804f
merge15.5
LuftVerbot Nov 3, 2023
59b4404
merge16
LuftVerbot Nov 4, 2023
bb96174
Merge branch 'master' into MR
LuftVerbot Nov 7, 2023
872fc74
fix downloader pause
LuftVerbot Nov 9, 2023
748d610
small changes
LuftVerbot Nov 9, 2023
338b54a
Merge branch 'master' into MR
LuftVerbot Nov 9, 2023
83dcd5e
merge17
LuftVerbot Nov 11, 2023
4732c38
repositioning
LuftVerbot Nov 11, 2023
b9d42c9
Merge branch 'master' into MR
LuftVerbot Nov 11, 2023
61256a2
again repositioning
LuftVerbot Nov 11, 2023
e7b1066
merge18
LuftVerbot Nov 11, 2023
0271706
merge19
LuftVerbot Nov 11, 2023
82eb36b
fuck lint
LuftVerbot Nov 11, 2023
096276c
merge19.5
LuftVerbot Nov 11, 2023
4709cbe
merge20
LuftVerbot Nov 12, 2023
645746a
merge21
LuftVerbot Nov 12, 2023
563efef
Merge branch 'master' into MR
LuftVerbot Nov 15, 2023
7174799
Update StreamsCatalogSheet.kt
LuftVerbot Nov 15, 2023
370212c
merge22
LuftVerbot Nov 17, 2023
a439045
merge23
LuftVerbot Nov 17, 2023
72a54cb
Merge branch 'master' into MR
LuftVerbot Nov 17, 2023
4cbf9a8
merge23.5
LuftVerbot Nov 17, 2023
1b6301c
merge24
LuftVerbot Nov 17, 2023
a2a445f
merge25
LuftVerbot Nov 18, 2023
eeddf17
merge26
LuftVerbot Nov 18, 2023
85d0e49
little fix
LuftVerbot Nov 18, 2023
e29dc62
lint cleanup
LuftVerbot Nov 18, 2023
fa7b842
merge27
LuftVerbot Nov 18, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fuck lint
LuftVerbot committed Oct 4, 2023
commit 5a2a3fd0804aa2e1c8068caa01ddd13eb5e1b872
Original file line number Diff line number Diff line change
@@ -2,25 +2,15 @@ package eu.kanade.tachiyomi.data.updater

import android.content.Context
import eu.kanade.tachiyomi.BuildConfig
import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.network.NetworkHelper
import eu.kanade.tachiyomi.network.awaitSuccess
import eu.kanade.tachiyomi.network.parseAs
import eu.kanade.tachiyomi.util.system.isInstalledFromFDroid
import kotlinx.serialization.json.Json
import tachiyomi.core.preference.Preference
import tachiyomi.core.preference.PreferenceStore
import tachiyomi.core.util.lang.withIOContext
import tachiyomi.domain.release.interactor.GetApplicationRelease
import uy.kohesive.injekt.injectLazy
import java.util.Date
import kotlin.time.Duration.Companion.days

class AppUpdateChecker {

private val getApplicationRelease: GetApplicationRelease by injectLazy()


suspend fun checkForUpdate(context: Context, forceCheck: Boolean = false): GetApplicationRelease.Result {
return withIOContext {
val result = getApplicationRelease.await(
Original file line number Diff line number Diff line change
@@ -171,7 +171,7 @@ internal class AppUpdateNotifier(private val context: Context) {
context.getString(R.string.action_cancel),
NotificationReceiver.dismissNotificationPendingBroadcast(
context,
Notifications.ID_APP_UPDATER
Notifications.ID_APP_UPDATER,
),
)
}