1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-23 14:41:08 +00:00

Fixed open with selected app

This commit is contained in:
M66B 2023-05-23 19:09:03 +02:00
parent 1d3549f170
commit 76ec103739

View file

@ -342,11 +342,10 @@ public class FragmentDialogOpenLink extends FragmentDialogBase {
@Override
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
Package pkg = (Package) parent.getAdapter().getItem(position);
if (pkg.browser)
prefs.edit()
.putString("open_with_pkg", pkg.name)
.putBoolean("open_with_tabs", pkg.tabs)
.apply();
prefs.edit()
.putString("open_with_pkg", pkg.name)
.putBoolean("open_with_tabs", pkg.tabs)
.apply();
}
@Override