Dont hide title when loading webview

This commit is contained in:
Mo Bitar
2019-03-25 17:09:56 -05:00
parent 7546891551
commit f30dd89bbe
3 changed files with 8 additions and 6 deletions

View File

@@ -67,7 +67,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.0.3</string>
<string>3.0.4</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>

View File

@@ -1,8 +1,8 @@
{
"name": "StandardNotes",
"version": "3.0.3",
"versionIOS": "3.0.3",
"versionAndroid": "3.0.3",
"version": "3.0.4-beta1",
"versionIOS": "3.0.4-beta1",
"versionAndroid": "3.0.4-beta1",
"license": "AGPL-3.0-or-later",
"private": true,
"scripts": {

View File

@@ -492,7 +492,7 @@ export default class Compose extends Abstract {
editable={!this.note.locked}
/>
{(this.state.loadingWebView) &&
{this.state.loadingWebView &&
<View style={[this.styles.loadingWebViewContainer]}>
<Text style={[this.styles.loadingWebViewText]}>
{"LOADING"}
@@ -545,6 +545,7 @@ export default class Compose extends Abstract {
loadStyles() {
let padding = 14;
let noteTitleHeight = 50;
this.rawStyles = {
container: {
flex: 1,
@@ -557,7 +558,7 @@ export default class Compose extends Abstract {
fontSize: 16,
color: StyleKit.variables.stylekitForegroundColor,
backgroundColor: StyleKit.variables.stylekitBackgroundColor,
height: 50,
height: noteTitleHeight,
borderBottomColor: StyleKit.variables.stylekitBorderColor,
borderBottomWidth: 1,
paddingTop: Platform.OS === "ios" ? 5 : 12,
@@ -589,6 +590,7 @@ export default class Compose extends Abstract {
position: "absolute",
height: "100%",
width: "100%",
top: noteTitleHeight,
bottom: 0,
zIndex: 300,
display: "flex",