File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -211,10 +211,9 @@ public class Plausible.MainWindow : Adw.ApplicationWindow {
211
211
domain_grid. attach (domain_label, 0 , 0 );
212
212
domain_grid. attach (domain_entry, 1 , 0 );
213
213
214
- var domain_dialog = new Adw .MessageDialog (
215
- this ,
214
+ var domain_dialog = new Adw .AlertDialog (
216
215
" Set a Custom Domain" ,
217
- " If you’re self-hosting Plausible or using an instance other than <b>%s </b>, set the domain name here ." . printf (domain)
216
+ " If you’re self-hosting Plausible or using an instance other than <b>%s </b>, set the domain name." . printf (domain)
218
217
) {
219
218
body_use_markup = true ,
220
219
default_response = " save" ,
@@ -224,7 +223,7 @@ public class Plausible.MainWindow : Adw.ApplicationWindow {
224
223
domain_dialog. add_response (" save" , _(" _Set Domain" ));
225
224
domain_dialog. set_response_appearance (" save" , Adw . ResponseAppearance . SUGGESTED );
226
225
227
- domain_dialog. present ();
226
+ domain_dialog. present (this );
228
227
229
228
domain_dialog. response. connect ((response_id) = > {
230
229
if (response_id == " save" ) {
You can’t perform that action at this time.
0 commit comments