1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-02 22:49:09 +02:00

Mobile: Added sync button animation; Added notebook header; Improved layout of Edit Notebook screen

This commit is contained in:
Laurent Cozic
2019-07-12 18:07:47 +01:00
parent e5a8114887
commit 091cbc5355
2 changed files with 42 additions and 9 deletions

View File

@@ -35,7 +35,8 @@ class FolderScreenComponent extends BaseScreenComponent {
let styles = {
textInput: {
color: theme.color,
paddingLeft: 10,
paddingLeft: theme.marginLeft,
marginTop: theme.marginTop,
},
};
@@ -115,7 +116,7 @@ class FolderScreenComponent extends BaseScreenComponent {
showSideMenuButton={false}
showSearchButton={false}
/>
<TextInput underlineColorAndroid={theme.strongDividerColor} selectionColor={theme.textSelectionColor} style={this.styles().textInput} autoFocus={true} value={this.state.folder.title} onChangeText={(text) => this.title_changeText(text)} />
<TextInput placeholder={_('Enter notebook title')} underlineColorAndroid={theme.strongDividerColor} selectionColor={theme.textSelectionColor} style={this.styles().textInput} autoFocus={true} value={this.state.folder.title} onChangeText={(text) => this.title_changeText(text)} />
<dialogs.DialogBox ref={dialogbox => { this.dialogbox = dialogbox }}/>
</View>
);