feat: add icon
This commit is contained in:
@@ -17,6 +17,12 @@ export component BrowserItem {
|
||||
height: 80px;
|
||||
padding: 8px;
|
||||
alignment: space-between;
|
||||
Image {
|
||||
height: 48px;
|
||||
width: 48px;
|
||||
source: @image-url("../logos/firefox_48x48.png");
|
||||
}
|
||||
|
||||
Text {
|
||||
text: browser.path;
|
||||
vertical_alignment: center;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
|
||||
@rust-attr(derive(serde::Serialize, serde::Deserialize))
|
||||
export struct BrowserConfig {
|
||||
icon: string,
|
||||
path: string,
|
||||
flags: string,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user