Skip to content

Commit

Permalink
Run fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Aug 29, 2024
1 parent 7594ad4 commit d2cdea8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions apps/app/src/api/ads.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,15 @@ pub async fn init_ads_window<R: Runtime>(
tauri::webview::WebviewBuilder::new(
"ads-window",
WebviewUrl::External(
"https://modrinth.com/wrapper/app-ads".parse().unwrap(),
"https://modrinth.com/wrapper/app-ads"
.parse()
.unwrap(),
),
)
.initialization_script(LINK_SCRIPT)
.user_agent("ModrinthApp Ads Webview")
.zoom_hotkeys_enabled(false)
.transparent(true),
.initialization_script(LINK_SCRIPT)
.user_agent("ModrinthApp Ads Webview")
.zoom_hotkeys_enabled(false)
.transparent(true),
LogicalPosition::new(x, y),
LogicalSize::new(width, height),
);
Expand Down

0 comments on commit d2cdea8

Please sign in to comment.