goblin: fix update changelog modal branding and links
Rebrand the inherited GRIM update/changelog modal for Goblin. The modal title now reads "Goblin <version>" instead of "Grim <version>", and the three footer links point to Goblin destinations: GitHub (2ro/goblin), the Telegram family channel, and goblin.st in place of the old code.gri.mw source mirror.
This commit is contained in:
@@ -836,7 +836,7 @@ impl WalletsContent {
|
||||
// Show button to see update information.
|
||||
View::item_button(ui, CornerRadius::default(), NOTEPAD, None, || {
|
||||
self.changelog_content = Some(ChangelogContent::new(update.changelog.clone()));
|
||||
let title = format!("Grim {}", update.version);
|
||||
let title = format!("Goblin {}", update.version);
|
||||
Modal::new(ChangelogContent::MODAL_ID)
|
||||
.position(ModalPosition::Center)
|
||||
.title(title)
|
||||
|
||||
@@ -26,11 +26,11 @@ pub struct ChangelogContent {
|
||||
}
|
||||
|
||||
/// Endpoint for GitHub repository.
|
||||
const GITHUB_URL: &'static str = "https://github.com/GetGrin/grim";
|
||||
const GITHUB_URL: &'static str = "https://github.com/2ro/goblin";
|
||||
/// Endpoint for Telegram releases channel.
|
||||
const TELEGRAM_URL: &'static str = "https://t.me/grim_releases";
|
||||
/// Endpoint for git repository.
|
||||
const GIT_URL: &'static str = "https://code.gri.mw/GUI/grim";
|
||||
const TELEGRAM_URL: &'static str = "https://t.me/goblinfamily";
|
||||
/// Endpoint for project website.
|
||||
const GIT_URL: &'static str = "https://goblin.st";
|
||||
|
||||
impl ChangelogContent {
|
||||
/// Create new content instance.
|
||||
|
||||
Reference in New Issue
Block a user