mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
Merge pull request #2648 from 4shutosh/readerProgress
Default visibility changed Fixes #2647
This commit is contained in:
commit
6a1a76efa5
@ -1482,6 +1482,7 @@ public abstract class CoreReaderFragment extends BaseFragment
|
||||
@Override
|
||||
public void webViewProgressChanged(int progress) {
|
||||
if (checkNull(progressBar) && isAdded()) {
|
||||
progressBar.setVisibility(View.VISIBLE);
|
||||
progressBar.show();
|
||||
progressBar.setProgress(progress);
|
||||
if (progress == 100) {
|
||||
|
@ -54,7 +54,7 @@
|
||||
android:indeterminate="false"
|
||||
android:max="100"
|
||||
android:theme="@style/ThemeOverlay.KiwixTheme.ProgressBar"
|
||||
android:visibility="visible"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintTop_toBottomOf="@+id/toolbar"
|
||||
tools:progress="70" />
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
Loading…
x
Reference in New Issue
Block a user