Skip to content
This repository was archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
fix(YouTube Music - Player components): Crash at first launch on old …
Browse files Browse the repository at this point in the history
…clients
  • Loading branch information
inotia00 authored and anddea committed Sep 16, 2024
1 parent c126157 commit a50bf3f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public static void onCreate(@NonNull Activity mActivity) {
if (BaseSettings.SETTINGS_INITIALIZED.get())
return;

showRestartDialog(mActivity, "revanced_extended_restart_first_run", 1000);
Utils.runOnMainThreadDelayed(() -> BaseSettings.SETTINGS_INITIALIZED.save(true), 1000);
showRestartDialog(mActivity, "revanced_extended_restart_first_run", 3000);
Utils.runOnMainThreadDelayed(() -> BaseSettings.SETTINGS_INITIALIZED.save(true), 3000);
}

public static void setDeviceInformation(@NonNull Activity mActivity) {
Expand Down

0 comments on commit a50bf3f

Please sign in to comment.