mirror of
https://github.com/aljazceru/notedeck.git
synced 2026-02-23 17:34:25 +01:00
refactor: rename assets
Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
@@ -463,8 +463,8 @@ fn accounts_button(ui: &mut egui::Ui) -> egui::Response {
|
||||
expanding_button(
|
||||
"accounts-button",
|
||||
24.0,
|
||||
app_images::accounts_image().tint(ui.visuals().text_color()),
|
||||
app_images::accounts_image(),
|
||||
app_images::profile_image().tint(ui.visuals().text_color()),
|
||||
app_images::profile_image(),
|
||||
ui,
|
||||
false,
|
||||
)
|
||||
|
||||
@@ -522,7 +522,7 @@ impl<'a> AddColumnView<'a> {
|
||||
"Stay up to date with someone's notes & replies",
|
||||
"Description for individual user column"
|
||||
),
|
||||
icon: app_images::profile_image(),
|
||||
icon: app_images::add_column_individual_image(),
|
||||
option: AddColumnOption::UndecidedIndividual,
|
||||
});
|
||||
vec.push(ColumnOptionData {
|
||||
@@ -597,7 +597,7 @@ impl<'a> AddColumnView<'a> {
|
||||
"Keep track of your notes & replies",
|
||||
"Description for your notes column"
|
||||
),
|
||||
icon: app_images::profile_image(),
|
||||
icon: app_images::add_column_individual_image(),
|
||||
option: AddColumnOption::Individual(source),
|
||||
});
|
||||
|
||||
@@ -612,7 +612,7 @@ impl<'a> AddColumnView<'a> {
|
||||
"Stay up to date with someone else's notes & replies",
|
||||
"Description for someone else's notes column"
|
||||
),
|
||||
icon: app_images::profile_image(),
|
||||
icon: app_images::add_column_individual_image(),
|
||||
option: AddColumnOption::ExternalIndividual,
|
||||
});
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@ pub fn add_account_image() -> Image<'static> {
|
||||
))
|
||||
}
|
||||
|
||||
pub fn accounts_image() -> Image<'static> {
|
||||
Image::new(include_image!("../../../assets/icons/accounts.png"))
|
||||
pub fn profile_image() -> Image<'static> {
|
||||
Image::new(include_image!("../../../assets/icons/profile.png"))
|
||||
}
|
||||
|
||||
pub fn cln_image() -> Image<'static> {
|
||||
@@ -199,7 +199,7 @@ pub fn reply_light_image() -> Image<'static> {
|
||||
Image::new(include_image!("../../../assets/icons/reply-dark.png"))
|
||||
}
|
||||
|
||||
pub fn profile_image() -> Image<'static> {
|
||||
pub fn add_column_individual_image() -> Image<'static> {
|
||||
Image::new(include_image!("../../../assets/icons/profile_icon_4x.png"))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user