mirror of
https://github.com/gsantner/dandelion
synced 2024-11-22 12:22:08 +01:00
This commit is contained in:
parent
bff4ab2e97
commit
6e7ae16e33
1 changed files with 3 additions and 4 deletions
|
@ -39,14 +39,13 @@ public class DiasporaStreamWebChromeClient extends FileUploadWebChromeClient {
|
||||||
@Override
|
@Override
|
||||||
public void onProgressChanged(WebView wv, int progress) {
|
public void onProgressChanged(WebView wv, int progress) {
|
||||||
super.onProgressChanged(wv, progress);
|
super.onProgressChanged(wv, progress);
|
||||||
if (progress > 10 && progress <= 60) {
|
|
||||||
WebHelper.getUserProfile(wv);
|
|
||||||
WebHelper.optimizeMobileSiteLayout(wv);
|
WebHelper.optimizeMobileSiteLayout(wv);
|
||||||
|
|
||||||
|
if (progress > 0 && progress <= 85) {
|
||||||
|
WebHelper.getUserProfile(wv);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (progress > 60) {
|
if (progress > 60) {
|
||||||
WebHelper.optimizeMobileSiteLayout(wv);
|
|
||||||
|
|
||||||
String textToBeShared = sharedTextCallback.getSharedText();
|
String textToBeShared = sharedTextCallback.getSharedText();
|
||||||
if (textToBeShared != null) {
|
if (textToBeShared != null) {
|
||||||
AppLog.d(this, "Share text into webView");
|
AppLog.d(this, "Share text into webView");
|
||||||
|
|
Loading…
Reference in a new issue