Skip to content

Commit

Permalink
update popup_list with latest makepad version
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpoon committed Jan 2, 2025
1 parent 6e03064 commit 16fa878
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ live_design! {
use link::shaders::*;
use link::widgets::*;

import crate::shared::styles::*;
import crate::home::home_screen::HomeScreen;
import crate::profile::my_profile_screen::MyProfileScreen;
import crate::verification_modal::VerificationModal;
import crate::login::login_screen::LoginScreen;
import crate::shared::popup_list::PopupList;
use crate::shared::styles::*;
use crate::home::home_screen::HomeScreen;
use crate::profile::my_profile_screen::MyProfileScreen;
use crate::verification_modal::VerificationModal;
use crate::login::login_screen::LoginScreen;
use crate::shared::popup_list::PopupList;

ICON_CHAT = dep("crate://self/resources/icons/chat.svg")
ICON_CONTACTS = dep("crate://self/resources/icons/contacts.svg")
Expand Down
8 changes: 4 additions & 4 deletions src/shared/popup_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ pub fn enqueue_popup_notification(update: String) {
}

live_design! {
import makepad_widgets::base::*;
import makepad_widgets::theme_desktop_dark::*;
import makepad_draw::shader::std::*;
use link::theme::*;
use link::shaders::*;
use link::widgets::*;
ICO_CLOSE = dep("crate://self/resources/icons/close.svg")

PopupDialog = <RoundedView> {
Expand Down Expand Up @@ -61,7 +61,7 @@ live_design! {
icon_walk: {width: 12, height: 12}
}

PopupList = {{PopupList}} {
pub PopupList = {{PopupList}} {
width: Fit
height: Fit
flow: Down
Expand Down

0 comments on commit 16fa878

Please sign in to comment.