mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-04-09 09:57:55 -04:00
Rename open to openBrowser
This commit is contained in:
@@ -64,7 +64,7 @@ public class AboutActivity extends CatimaAppCompatActivity {
|
||||
View.OnClickListener openExternalBrowser = view -> {
|
||||
Object tag = view.getTag();
|
||||
if (tag instanceof String && ((String) tag).startsWith("https://")) {
|
||||
(new OpenWebLinkHandler()).open(this, (String) tag);
|
||||
(new OpenWebLinkHandler()).openBrowser(this, (String) tag);
|
||||
}
|
||||
};
|
||||
binding.versionHistory.setOnClickListener(openExternalBrowser);
|
||||
|
||||
@@ -12,7 +12,7 @@ public class OpenWebLinkHandler {
|
||||
|
||||
private static final String TAG = "Catima";
|
||||
|
||||
public void open(AppCompatActivity activity, String url) {
|
||||
public void openBrowser(AppCompatActivity activity, String url) {
|
||||
if (url == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user