mirror of
https://github.com/k0shk0sh/FastHub.git
synced 2025-12-08 19:05:54 +00:00
added a message to indicates to users to open the intent in browser.
This commit is contained in:
parent
11ddea1fd0
commit
68a2fb35cf
@ -20,6 +20,7 @@ import com.fastaccess.ui.modules.main.MainView;
|
||||
|
||||
import butterknife.BindView;
|
||||
import butterknife.OnClick;
|
||||
import es.dmoral.toasty.Toasty;
|
||||
|
||||
/**
|
||||
* Created by Kosh on 08 Feb 2017, 9:10 PM
|
||||
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user