[android][ios] Remove Kayak links

Signed-off-by: Harry bond <me@hbond.xyz>
This commit is contained in:
Harry Bond
2025-04-13 20:33:43 +01:00
committed by Konstantin Pastbin
parent 017a5c6cab
commit 70ed37b648
125 changed files with 2 additions and 1284 deletions

View File

@@ -1742,33 +1742,6 @@ public class MwmActivity extends BaseMwmFragmentActivity
return false;
}
public void openKayakLink(@NonNull String url)
{
// The disclaimer is not needed if a user had explicitly opted-in via the setting.
if (Config.isKayakDisclaimerAccepted() || Config.isKayakDisplayEnabled())
{
Utils.openUrl(this, url);
return;
}
dismissAlertDialog();
mAlertDialog = new MaterialAlertDialogBuilder(this, R.style.MwmTheme_AlertDialog)
.setTitle(R.string.how_to_support_us)
.setMessage(R.string.dialog_kayak_disclaimer)
.setCancelable(true)
.setPositiveButton(R.string.dialog_kayak_button, (dlg, which) -> {
Config.acceptKayakDisclaimer();
Utils.openUrl(this, url);
})
.setNegativeButton(R.string.cancel, null)
.setNeutralButton(R.string.dialog_kayak_disable_button, (dlg, which) -> {
Config.setKayakDisplay(false);
UiUtils.hide(findViewById(R.id.ll__place_kayak));
})
.setOnDismissListener(dialog -> mAlertDialog = null)
.show();
}
private boolean showStartPointNotice()
{
final RoutingController controller = RoutingController.get();