Progress bar color, refs

This commit is contained in:
Kelvin 2025-07-04 15:58:46 +02:00
commit 940bf163da
5 changed files with 7 additions and 3 deletions

View file

@ -238,6 +238,9 @@ fun <T: V8Value> V8ValuePromise.toV8ValueAsync(plugin: V8Plugin): V8Deferred<T>
else else
V8Deferred<T>(underlyingDef); V8Deferred<T>(underlyingDef);
if(def.estDuration > 0)
Logger.i("V8", "Promise with duration: [${def.estDuration}]");
val promise = this; val promise = this;
plugin.busy { plugin.busy {
this.register(object: IV8ValuePromise.IListener { this.register(object: IV8ValuePromise.IListener {

View file

@ -911,6 +911,6 @@ class FutoVideoPlayer : FutoVideoPlayerBase {
loaderDeterminate.progress = anim.animatedValue as Int loaderDeterminate.progress = anim.animatedValue as Int
} }
start() start()
} };
} }
} }

View file

@ -87,6 +87,7 @@
<ProgressBar <ProgressBar
android:id="@+id/loader_determinate" android:id="@+id/loader_determinate"
style="@android:style/Widget.ProgressBar.Horizontal" style="@android:style/Widget.ProgressBar.Horizontal"
android:progressDrawable="@drawable/progress_bar"
android:layout_width="200dp" android:layout_width="200dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"

@ -1 +1 @@
Subproject commit ab38d1262ab4178113b1f6ad445e1b4d580fdfc1 Subproject commit 2036f9b68255d2f9ef4e1232b4ad556e11cafb9a

@ -1 +1 @@
Subproject commit ab38d1262ab4178113b1f6ad445e1b4d580fdfc1 Subproject commit 2036f9b68255d2f9ef4e1232b4ad556e11cafb9a