Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
Apply stabilizations fixes (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
bytedream committed Jan 2, 2023
1 parent 0c13942 commit fae5d69
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crunchy-cli-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,9 @@ async fn create_ctx(cli: &Cli) -> Result<Context> {
}

async fn crunchyroll_session(cli: &Cli) -> Result<Crunchyroll> {
let mut builder = Crunchyroll::builder();
builder.locale(cli.lang.clone().unwrap_or_else(system_locale));
let mut builder = Crunchyroll::builder()
.locale(cli.lang.clone().unwrap_or_else(system_locale))
.stabilization_locales(true);

let login_methods_count = cli.login_method.credentials.is_some() as u8
+ cli.login_method.etp_rt.is_some() as u8
Expand Down

0 comments on commit fae5d69

Please sign in to comment.