mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-09-06 01:26:55 +00:00
Progress bar color, refs
This commit is contained in:
parent
2bbe0e6133
commit
940bf163da
5 changed files with 7 additions and 3 deletions
|
@ -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 {
|
||||||
|
|
|
@ -911,6 +911,6 @@ class FutoVideoPlayer : FutoVideoPlayerBase {
|
||||||
loaderDeterminate.progress = anim.animatedValue as Int
|
loaderDeterminate.progress = anim.animatedValue as Int
|
||||||
}
|
}
|
||||||
start()
|
start()
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue