Skip to content

Commit 1b31a73

Browse files
author
Gazala Muhamed
committed
Undo fix
1 parent 384c68a commit 1b31a73

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

app/src/main/java/com/gazlaws/codeboard/SettingsFragment.java

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -92,19 +92,7 @@ public boolean onPreferenceChange(Preference preference, Object newValue) {
9292

9393
}
9494

95-
@Override
96-
public void onDisplayPreferenceDialog(@NonNull Preference preference) {
97-
// Check if the preference is an EditTextPreference
98-
if (preference instanceof EditTextPreference) {
99-
// Create a new dialog fragment for the EditTextPreference
100-
final EditTextPreferenceDialogFragmentCompat dialogFragment = EditTextPreferenceDialogFragmentCompat.newInstance(preference.getKey());
101-
// Show the dialog fragment
102-
dialogFragment.show(getParentFragmentManager(), null);
103-
} else {
104-
// If it's not an EditTextPreference, call the super method
105-
super.onDisplayPreferenceDialog(preference);
106-
}
107-
}
95+
10896

10997
public static CharSequence getCurrentImeLabel(Context context) {
11098
CharSequence readableName = null;

0 commit comments

Comments
 (0)