Skip to content

Commit

Permalink
- moved strings to strings.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
jakepurple13 committed May 17, 2021
1 parent a0d752e commit 252ad3d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,14 +240,13 @@ class MainActivity : BaseMainActivity() {

it.addPreference(
SwitchPreference(it.context).apply {
title = "Wcostream Recent Type"
summary =
"Due to some possible with this source, multiple calls need to be made which we need to be careful of. If you turn this off, just be wary that Wcostream could stop you from getting data."
title = getString(R.string.wco_recent_title)
summary = getString(R.string.wco_recent_info)
key = "wco_recent"
isChecked = wcoRecent
setOnPreferenceChangeListener { _, newValue ->
WcoStream.RECENT_TYPE = newValue as Boolean
wcoRecent = newValue as Boolean
wcoRecent = newValue
true
}
icon = ContextCompat.getDrawable(it.context, R.drawable.ic_baseline_article_24)
Expand Down
2 changes: 2 additions & 0 deletions animeworld/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,6 @@
<string name="retry_text">Retry</string>
<string name="view_downloads">View Downloads</string>
<string name="view_videos">View Videos</string>
<string name="wco_recent_info">Due to some possible with this source, multiple calls need to be made which we need to be careful of. If you turn this off, just be wary that Wcostream could stop you from getting data.</string>
<string name="wco_recent_title">Wcostream Recent Type</string>
</resources>
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
buildscript {
ext.kotlin_version = "1.5.0"
ext.jakepurple13 = "10.6.3"
ext.otakuVersionName = "11.2"
ext.otakuVersionName = "12.0"
ext.latestAboutLibsRelease = "+"
ext.coroutinesCore = "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class MainActivity : BaseMainActivity() {

}

override val apkString: String get() = ""
override val apkString: String get() = "novelworld-debug.apk"

override val showMiddleChapterButton: Boolean get() = false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import com.programmersbox.uiviews.utils.FirebaseDb

class NovelApp : OtakuApp() {
override fun onCreated() {

logo = R.mipmap.ic_launcher
notificationLogo = R.drawable.ic_launcher_foreground

Expand Down

0 comments on commit 252ad3d

Please sign in to comment.