mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2026-05-16 04:52:39 +02:00
Progress bar color, refs
This commit is contained in:
@@ -238,6 +238,9 @@ fun <T: V8Value> V8ValuePromise.toV8ValueAsync(plugin: V8Plugin): V8Deferred<T>
|
||||
else
|
||||
V8Deferred<T>(underlyingDef);
|
||||
|
||||
if(def.estDuration > 0)
|
||||
Logger.i("V8", "Promise with duration: [${def.estDuration}]");
|
||||
|
||||
val promise = this;
|
||||
plugin.busy {
|
||||
this.register(object: IV8ValuePromise.IListener {
|
||||
|
||||
@@ -911,6 +911,6 @@ class FutoVideoPlayer : FutoVideoPlayerBase {
|
||||
loaderDeterminate.progress = anim.animatedValue as Int
|
||||
}
|
||||
start()
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -87,6 +87,7 @@
|
||||
<ProgressBar
|
||||
android:id="@+id/loader_determinate"
|
||||
style="@android:style/Widget.ProgressBar.Horizontal"
|
||||
android:progressDrawable="@drawable/progress_bar"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
|
||||
Submodule app/src/stable/assets/sources/youtube updated: ab38d1262a...2036f9b682
Submodule app/src/unstable/assets/sources/youtube updated: ab38d1262a...2036f9b682
Reference in New Issue
Block a user