Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

Commit

Permalink
added a message to indicates to users to open the intent in browser.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kosh committed Mar 19, 2017
1 parent 11ddea1 commit 68a2fb3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

import butterknife.BindView;
import butterknife.OnClick;
import es.dmoral.toasty.Toasty;

/**
* Created by Kosh on 08 Feb 2017, 9:10 PM
Expand All @@ -39,6 +40,7 @@ public class LoginView extends BaseActivity<LoginMvp.View, LoginPresenter> imple
@OnClick(R.id.browserLogin) void onOpenBrowser() {
Uri uri = getPresenter().getAuthorizationUrl();
ActivityHelper.forceOpenInBrowser(this, uri);
Toasty.info(this, getString(R.string.open_in_browser)).show();
}

@OnClick(R.id.login) public void onClick() {
Expand Down

0 comments on commit 68a2fb3

Please sign in to comment.