mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-29 16:31:18 +00:00
Some dead code removal/usage
This commit is contained in:
parent
063153391a
commit
3be3ee5951
@ -7,7 +7,7 @@ pub struct About {
|
||||
pub version: String,
|
||||
pub description: String,
|
||||
pub authors: String,
|
||||
pub repository: String,
|
||||
//pub repository: String,
|
||||
pub homepage: String,
|
||||
pub license: String,
|
||||
pub storage_path: String,
|
||||
@ -37,7 +37,7 @@ impl About {
|
||||
version,
|
||||
description: env!("CARGO_PKG_DESCRIPTION").to_string(),
|
||||
authors: env!("CARGO_PKG_AUTHORS").to_string(),
|
||||
repository: env!("CARGO_PKG_REPOSITORY").to_string(),
|
||||
//repository: env!("CARGO_PKG_REPOSITORY").to_string(),
|
||||
homepage: env!("CARGO_PKG_HOMEPAGE").to_string(),
|
||||
license: env!("CARGO_PKG_LICENSE").to_string(),
|
||||
storage_path: data_dir,
|
||||
|
@ -50,6 +50,7 @@ We are storing data on your system in this directory: {}. This data is only used
|
||||
ui.add_space(15.0);
|
||||
|
||||
ui.label(RichText::new("This program comes with absolutely no warranty.").text_style(TextStyle::Small));
|
||||
ui.label(RichText::new("See the MIT License for details.").text_style(TextStyle::Small));
|
||||
|
||||
ui.label(RichText::new(format!("See the {} License for details.", &app.about.license)).text_style(TextStyle::Small));
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user