mirror of
https://github.com/aljazceru/notedeck.git
synced 2026-02-06 09:04:20 +01:00
make eye button public
Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
@@ -157,7 +157,7 @@ fn login_textedit<'a>(
|
||||
text_edit
|
||||
}
|
||||
|
||||
fn eye_button(ui: &mut egui::Ui, is_visible: bool) -> egui::Response {
|
||||
pub fn eye_button(ui: &mut egui::Ui, is_visible: bool) -> egui::Response {
|
||||
let is_dark_mode = ui.visuals().dark_mode;
|
||||
let icon = if is_visible && is_dark_mode {
|
||||
app_images::eye_dark_image()
|
||||
|
||||
Reference in New Issue
Block a user