Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse committed Oct 16, 2023
1 parent 429550c commit fbe22f8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class MobileBackendPlugin: Plugin() {
val rawInputMessage = Json.encodeToString(
FrontendRequest(
call.getString("resourceName")!!,
call.getString("parameters")!!
call.getString("parameters") ?: "{}"
)
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class MobileBackendPlugin: CAPPlugin {
let rawRequest = try encoder.encode(
FrontendRequest(
resourceName: call.getString("resourceName")!,
parameters: call.getString("parameters")!
parameters: call.getString("parameters") ?? "{}"
)
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,6 @@ export class ConnectivityTestPage extends LitElement {
render() {
// TODO: move language definitions to a centralized place
return html`<main dir="${this.locale === "fa-IR" ? "rtl" : "ltr"}">
${this.renderPlatformStyles()}
<header class=${this.platform?.operatingSystem === OperatingSystem.IOS ? "header--ios" : "header"}>
<h1 class="header-text">${msg("Outline Connectivity Test")}</h1>
</header>
Expand Down

0 comments on commit fbe22f8

Please sign in to comment.