Skip to content

Commit

Permalink
Change appId in capacitor config
Browse files Browse the repository at this point in the history
  • Loading branch information
Got17 committed Oct 25, 2024
1 parent e9aa9c6 commit 5bdcea2
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion FingerAuth/capacitor.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"appId": "com.authapp.app",
"appId": "authapp.intellifactorylabs.com",
"appName": "AuthApp",
"webDir": "wwwroot/dist"
}
2 changes: 1 addition & 1 deletion FingerAuth/src/AuthLogic.fs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ module AuthLogic =
if not(checkBioResult.IsAvailable) then
printfn("Biometric authentication not available on this device.");

else
//else
Capacitor.BiometricAuth.Authenticate(BiometricAuth.AuthenticateOptions(
Reason = "Please authenticate to use PicDrawApp",
AndroidTitle = "Biometric Authentication",
Expand Down
2 changes: 1 addition & 1 deletion FingerAuth/src/Server.fs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module Server =
printfn $"Error during user registration: {ex.Message}"
return "Error during registration"
}

[<Rpc>]
let verifyUser (username: string, password: string) =
async {
Expand Down
6 changes: 3 additions & 3 deletions FingerAuth/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
</p>
</div>

<button role="button" id="captureBtn" ws-onclick="CaptureBtn">Capture Image</button>
<button role="button" id="captureBtn" class="capture-button text" ws-onclick="CaptureBtn">Capture Image</button>

<br />
<div class="canvas-container">
Expand All @@ -111,10 +111,10 @@
ws-onafterrender="canvasInit"></canvas>
</div>

<button role="button" id="saveShareBtn" ws-onclick="SaveShareBtn">Save & Share</button>
<button role="button" id="saveShareBtn" class="save-share-button text" ws-onclick="SaveShareBtn">Save & Share</button>

<div class="logout-container">
<a role="button" ws-onclick="LogOut" href="${ToHomePage}" class="logout-button">Log out</a>
<a role="button" ws-onclick="LogOut" href="${ToHomePage}" class="logout-button text">Log out</a>
</div>
</div>
</div>
Expand Down
11 changes: 6 additions & 5 deletions FingerAuth/wwwroot/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,10 @@ form {
border: 1px solid #ccc;
}

#captureBtn,
#saveShareBtn {
font-size: 12px;
.capture-button,
.save-share-button {
font-size: 16px;
font-weight: 500;
letter-spacing: 2px;
display: block;
width: 100%;
Expand All @@ -181,7 +182,7 @@ form {
cursor: pointer
}

#saveShareBtn {
.save-share-button {
margin-top: 15px;
}

Expand All @@ -198,7 +199,7 @@ form {
padding: 10px 20px;
margin: 20px auto;
text-align: center;
font-size: 12px;
font-size: 16px;
border-radius: 5px;
cursor: pointer;
text-decoration: none;
Expand Down

0 comments on commit 5bdcea2

Please sign in to comment.