mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Apply stabilizations fixes (#89)
This commit is contained in:
parent
0c13942016
commit
fae5d69933
1 changed files with 3 additions and 2 deletions
|
|
@ -189,8 +189,9 @@ async fn create_ctx(cli: &Cli) -> Result<Context> {
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn crunchyroll_session(cli: &Cli) -> Result<Crunchyroll> {
|
async fn crunchyroll_session(cli: &Cli) -> Result<Crunchyroll> {
|
||||||
let mut builder = Crunchyroll::builder();
|
let mut builder = Crunchyroll::builder()
|
||||||
builder.locale(cli.lang.clone().unwrap_or_else(system_locale));
|
.locale(cli.lang.clone().unwrap_or_else(system_locale))
|
||||||
|
.stabilization_locales(true);
|
||||||
|
|
||||||
let login_methods_count = cli.login_method.credentials.is_some() as u8
|
let login_methods_count = cli.login_method.credentials.is_some() as u8
|
||||||
+ cli.login_method.etp_rt.is_some() as u8
|
+ cli.login_method.etp_rt.is_some() as u8
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue