mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-14 10:07:27 +00:00
Fixed stable channel asking for custom URL when previously selected
This commit is contained in:
@@ -73,6 +73,7 @@ abstract class BasePreferenceFragment : PreferenceFragmentCompat(),
|
||||
|
||||
protected fun getChannelCompat(channel: Int): KConfig.UpdateChannel {
|
||||
return when (channel) {
|
||||
Config.Value.STABLE_CHANNEL,
|
||||
Config.Value.DEFAULT_CHANNEL -> KConfig.UpdateChannel.STABLE
|
||||
Config.Value.BETA_CHANNEL -> KConfig.UpdateChannel.BETA
|
||||
Config.Value.CANARY_CHANNEL -> KConfig.UpdateChannel.CANARY
|
||||
|
Reference in New Issue
Block a user