mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-29 08:21:47 +00:00
hardcode zap receipts off and do not show in settings up
This commit is contained in:
parent
c09d51d4a5
commit
527f9741a5
@ -181,7 +181,7 @@ impl Settings {
|
||||
"highlight_unread_events" => {
|
||||
settings.highlight_unread_events = numstr_to_bool(row.1)
|
||||
}
|
||||
"enable_zap_receipts" => settings.enable_zap_receipts = numstr_to_bool(row.1),
|
||||
"enable_zap_receipts" => settings.enable_zap_receipts = false, //numstr_to_bool(row.1),
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
@ -253,7 +253,7 @@ impl Settings {
|
||||
bool_to_numstr(self.automatically_fetch_metadata),
|
||||
self.delegatee_tag,
|
||||
bool_to_numstr(self.highlight_unread_events),
|
||||
bool_to_numstr(self.enable_zap_receipts),
|
||||
"0" // bool_to_numstr(self.enable_zap_receipts),
|
||||
])?;
|
||||
|
||||
// Settings which are Options should not even exist when None. We don't accept null valued
|
||||
|
@ -99,10 +99,12 @@ pub(super) fn update(app: &mut GossipUi, ctx: &Context, _frame: &mut eframe::Fra
|
||||
"Enable reactions (show and react)",
|
||||
);
|
||||
|
||||
/*
|
||||
ui.checkbox(
|
||||
&mut app.settings.enable_zap_receipts,
|
||||
"Enable zap receipts",
|
||||
);
|
||||
);
|
||||
*/
|
||||
|
||||
ui.checkbox(
|
||||
&mut app.settings.reposts,
|
||||
|
Loading…
Reference in New Issue
Block a user