Skip to content

Commit

Permalink
[更新] 更新版本号至v0.15.5
Browse files Browse the repository at this point in the history
  • Loading branch information
YenalyLiew committed Oct 21, 2024
1 parent d59421b commit ba816ad
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

要使用此应用,您的 Android 版本必须**不小于 7.0**

本项目仅用于学习和交流代码,不可闭源
本项目仅用于学习和交流代码。

An **unofficial** [Hanime1](https://hanime1.me/) Application for Android.

Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ android {
applicationId = "com.yenaly.han1meviewer"
minSdk = property("min.sdk")?.toString()?.toIntOrNull()
targetSdk = property("target.sdk")?.toString()?.toIntOrNull()
val (code, name) = createVersion(major = 0, minor = 15, patch = 2)
val (code, name) = createVersion(major = 0, minor = 15, patch = 5)
versionCode = code
versionName = name

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ class HanimeApplication : YenalyApplication() {
DynamicColors.applyToActivitiesIfAvailable(this)
HProxySelector.rebuildNetwork()

initFirebase()
initNotificationChannel()
}

private fun initFirebase() {
// 用于处理 Firebase Analytics 初始化
Firebase.analytics.setAnalyticsCollectionEnabled(Preferences.isAnalyticsEnabled)
// 用于处理 Firebase Crashlytics 初始化
Expand Down Expand Up @@ -74,7 +79,6 @@ class HanimeApplication : YenalyApplication() {
AppViewModel.getLatestVersion(delayMillis = 200)
}
}
initNotificationChannel()
}

private fun initNotificationChannel() {
Expand Down

0 comments on commit ba816ad

Please sign in to comment.