mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
fix crash when opening Advanced settings
This commit is contained in:
@@ -121,20 +121,6 @@ public class AdvancedPreferenceFragment extends ListSummaryPreferenceFragment
|
||||
}
|
||||
return true;
|
||||
});
|
||||
|
||||
Preference locationStreamingEnabled = this.findPreference("pref_location_streaming_enabled");
|
||||
locationStreamingEnabled.setOnPreferenceChangeListener((preference, newValue) -> {
|
||||
if ((Boolean)newValue) {
|
||||
new AlertDialog.Builder(getActivity())
|
||||
.setTitle("Thanks for trying out \"Location Streaming\"!")
|
||||
.setMessage("• You will find a corresponding option in the attach menu (the paper clip) of each chat now\n\n"
|
||||
+ "• If you want to quit the experimental feature, you can disable it at \"Settings / Advanced\"")
|
||||
.setCancelable(false)
|
||||
.setPositiveButton(R.string.ok, null)
|
||||
.show();
|
||||
}
|
||||
return true;
|
||||
});
|
||||
}
|
||||
|
||||
private boolean handleImapCheck(Preference preference, Object newValue, String dc_config_name) {
|
||||
|
||||
Reference in New Issue
Block a user