Skip to content

Commit 7bcb163

Browse files
committed
fix: doc
1 parent bf0d330 commit 7bcb163

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

iced_layershell/src/build_pattern/application.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
use iced::widget::{button, column, row, text, text_input};
66
use iced::{event, Alignment, Color, Element, Event, Length, Task as Command};
7-
use iced_layershell::build_pattern::{application, MainSettings};
7+
use iced_layershell::build_pattern::{application, Settings};
88
use iced_layershell::reexport::Anchor;
99
use iced_layershell::settings::{LayerShellSettings, StartMode};
1010
use iced_layershell::to_layer_message;
@@ -25,7 +25,7 @@ pub fn main() -> Result<(), iced_layershell::Error> {
2525
application(namespace, update, view)
2626
.style(style)
2727
.subscription(subscription)
28-
.settings(MainSettings {
28+
.settings(Settings {
2929
layer_settings: LayerShellSettings {
3030
size: Some((0, 400)),
3131
exclusive_zone: 400,

iced_layershell/src/build_pattern/daemon.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use iced_layershell::actions::{IcedNewMenuSettings, MenuDirection};
1111
use iced_runtime::window::Action as WindowAction;
1212
use iced_runtime::{task, Action};
1313
14-
use iced_layershell::build_pattern::{daemon, MainSettings};
14+
use iced_layershell::build_pattern::{daemon, Settings};
1515
use iced_layershell::reexport::{Anchor, KeyboardInteractivity, Layer, NewLayerShellSettings};
1616
use iced_layershell::settings::{LayerShellSettings, StartMode};
1717
use iced_layershell::to_layer_message;
@@ -24,7 +24,7 @@ pub fn main() -> Result<(), iced_layershell::Error> {
2424
Counter::remove_id,
2525
)
2626
.subscription(Counter::subscription)
27-
.settings(MainSettings {
27+
.settings(Settings {
2828
layer_settings: LayerShellSettings {
2929
size: Some((0, 400)),
3030
exclusive_zone: 400,

0 commit comments

Comments
 (0)