minor changes

This commit is contained in:
Mike Dilger 2023-02-14 18:56:59 +13:00
parent 1dfd99e8a6
commit 1cf520fcf2
3 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ pub(super) fn update(app: &mut GossipUi, _ctx: &Context, _frame: &mut eframe::Fr
Users are defined by their keypair, and are known by the public key of that pair. All events they generate are signed by their private key, and verifiable by their public key.
We are storing data on your system in this file: {}. This data is only used locally by this client - the nostr protocol does not use clients as a store of data for other people. We are storing your settings, your private and public key, information about relays, and a cache of events. We cache events in your feed so that we don't have to ask relays for them again, which means less network traffic and faster startup times.
We are storing data on your system in this directory: {}. This data is only used locally by this client - the nostr protocol does not use clients as a store of data for other people. We are storing your settings, your private and public key, information about relays, and a cache of events. We cache events in your feed so that we don't have to ask relays for them again, which means less network traffic and faster startup times.
", app.about.storage_path))
.text_style(TextStyle::Body)
);

View File

@ -59,7 +59,7 @@ pub(super) fn update(app: &mut GossipUi, ctx: &Context, _frame: &mut eframe::Fra
if ui.link("Settings").clicked() {
app.set_page(Page::Settings);
}
ui.label("and under the User Interface section, check \"Override DPI\" and set the value higher. You can press [Do it now] to see if you like it, and [SAVE CHANGES] to save that setting for next time.");
ui.label("and under the User Interface section, check \"Override DPI\" and set the value higher. You can press [Try it now] to see if you like it, and [SAVE CHANGES] to save that setting for next time.");
});
ui.add_space(10.0);
@ -155,7 +155,7 @@ pub(super) fn update(app: &mut GossipUi, ctx: &Context, _frame: &mut eframe::Fra
if ui.link("Settings").clicked() {
app.set_page(Page::Settings);
}
ui.label("and under the User Interface section, check \"Override DPI\" and set the value higher. You can press [Do it now] to see if you like it, and [SAVE CHANGES] to save that setting for next time.");
ui.label("and under the User Interface section, check \"Override DPI\" and set the value higher. You can press [Try it now] to see if you like it, and [SAVE CHANGES] to save that setting for next time.");
});
ui.add_space(10.0);

View File

@ -186,7 +186,7 @@ pub(super) fn update(app: &mut GossipUi, ctx: &Context, _frame: &mut eframe::Fra
&mut app.override_dpi,
"Override to ");
ui.add(Slider::new(&mut app.override_dpi_value, 72..=250).text("DPI"));
if ui.button("Do it now (does not save yet)").clicked() {
if ui.button("Try it now").clicked() {
let ppt: f32 = app.override_dpi_value as f32 / 72.0;
ctx.set_pixels_per_point(ppt);
}