Commit 756d8356 authored by topjohnwu's avatar topjohnwu

Show canary channel option on canary builds

parent 42003b40
......@@ -167,7 +167,7 @@ object UpdateChannel : BaseSettingsItem.Selector() {
override val entryRes = R.array.update_channel
override fun entries(res: Resources): Array<String> {
return super.entries(res).let {
if (!BuildConfig.DEBUG)
if (!Const.APP_IS_CANARY && !BuildConfig.DEBUG)
it.copyOfRange(0, Config.Value.CANARY_CHANNEL)
else it
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment