File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
app/src/main/java/mavonie/subterminal/Utils Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -17,15 +17,11 @@ public class WebClient extends WebViewClient {
17
17
public boolean shouldOverrideUrlLoading (WebView view , String url ) {
18
18
if (Uri .parse (url ).toString ().contains ("?payment=true" )) {
19
19
20
- UIHelper .loadSpinner ();
21
-
22
20
//Make sure user is authenticated before we allow further
23
21
Call updateUser = Subterminal .getApi ().getEndpoints ().getUser ();
24
22
updateUser .enqueue (new Callback <User >() {
25
23
@ Override
26
24
public void onResponse (Call call , Response response ) {
27
- UIHelper .removeLoadSpinner ();
28
-
29
25
if (response .isSuccessful ()) {
30
26
Intent scanIntent = new Intent (MainActivity .getActivity (), CardIOActivity .class );
31
27
@@ -45,7 +41,6 @@ public void onResponse(Call call, Response response) {
45
41
@ Override
46
42
public void onFailure (Call call , Throwable t ) {
47
43
UIHelper .toast ("There was an issue contacting the server" );
48
- UIHelper .removeLoadSpinner ();
49
44
}
50
45
});
51
46
}
You can’t perform that action at this time.
0 commit comments