Distinction between License and AcceptLicense screens

This commit is contained in:
Sofiya Tepikin
2022-09-18 13:02:43 +00:00
parent fb863c832b
commit f6a90994b6
6 changed files with 53 additions and 76 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ import { openDb } from '../db'
import App from './app'
import AppLoadingView from './common/app-loading'
import AppStatusBar from './common/app-status-bar'
import License from './License'
import AcceptLicense from './AcceptLicense'
import PasswordPrompt from './password-prompt'
export default function AppWrapper() {
@@ -38,7 +38,7 @@ export default function AppWrapper() {
}
if (!isLicenseAccepted) {
return <License setLicense={() => setIsLicenseAccepted(true)} />
return <AcceptLicense setLicense={() => setIsLicenseAccepted(true)} />
}
return (