mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-24 08:36:26 +00:00
fix color dialog title
This commit is contained in:
parent
c53224dd2b
commit
bc159f5e3c
2 changed files with 3 additions and 3 deletions
|
@ -185,7 +185,7 @@ class AppearanceSettingsFragment : SubScreenFragment(), Preference.OnPreferenceC
|
|||
3 -> Settings.PREF_THEME_USER_COLOR_ACCENT
|
||||
else -> Settings.PREF_THEME_USER_COLOR_KEYS
|
||||
}
|
||||
val d = ColorPickerDialog(activity, sharedPreferences, pref)
|
||||
val d = ColorPickerDialog(activity, items[i], sharedPreferences, pref)
|
||||
d.show()
|
||||
}
|
||||
.show()
|
||||
|
|
|
@ -30,9 +30,9 @@ import android.widget.TextView;
|
|||
import org.dslul.openboard.inputmethod.latin.R;
|
||||
|
||||
public class ColorPickerDialog extends AlertDialog implements SeekBar.OnSeekBarChangeListener {
|
||||
protected ColorPickerDialog(Context context, SharedPreferences prefs, String colorPref) {
|
||||
protected ColorPickerDialog(Context context, String title, SharedPreferences prefs, String colorPref) {
|
||||
super(context);
|
||||
setTitle("bla");
|
||||
setTitle(title);
|
||||
View view = getLayoutInflater().inflate(R.layout.color_dialog, null);
|
||||
mSeekBarRed = (SeekBar)view.findViewById(R.id.seek_bar_dialog_bar_red);
|
||||
mSeekBarRed.setMax(255);
|
||||
|
|
Loading…
Add table
Reference in a new issue