mirror of
https://github.com/standardnotes/mobile.git
synced 2026-01-30 02:21:18 -05:00
Updates
This commit is contained in:
@@ -45,10 +45,8 @@ export default class Icons {
|
||||
))
|
||||
).then(sources => {
|
||||
Object.keys(icons).forEach((iconName, idx) => {
|
||||
console.log("Putting shit:", sources[idx]);
|
||||
iconsMap[iconName] = sources[idx]
|
||||
})
|
||||
console.log("Finished loading icons");
|
||||
resolve(true);
|
||||
})
|
||||
});
|
||||
|
||||
@@ -290,7 +290,7 @@ export default class Account extends Abstract {
|
||||
render() {
|
||||
let signedIn = !Auth.getInstance().offline();
|
||||
var themes = GlobalStyles.get().themes();
|
||||
console.log("Theme count:", themes.length);
|
||||
|
||||
return (
|
||||
<View style={GlobalStyles.styles().container}>
|
||||
<ScrollView style={{backgroundColor: GlobalStyles.constants().mainBackgroundColor}} keyboardShouldPersistTaps={'always'} keyboardDismissMode={'interactive'}>
|
||||
|
||||
@@ -231,7 +231,6 @@ export default class Compose extends Abstract {
|
||||
var textBottomPadding = this.state.keyboard ? 10 : 0;
|
||||
var keyboardBehavior = Platform.OS == "android" ? "height" : "padding";
|
||||
var keyboardOffset = this.rawStyles.noteTitle.height + this.rawStyles.noteText.paddingTop + (Platform.OS == "android" ? 15 : 0);
|
||||
console.log("Keyboard offset", keyboardOffset, this.rawStyles.noteTitle.height, this.rawStyles.noteText.paddingTop);
|
||||
return (
|
||||
<View style={[this.styles.container, GlobalStyles.styles().container]}>
|
||||
<TextInput
|
||||
|
||||
@@ -152,8 +152,6 @@ export default class Notes extends Abstract {
|
||||
})
|
||||
}
|
||||
|
||||
console.log("Icon", Icons.getIcon('md-add'));
|
||||
|
||||
this.props.navigator.setButtons({
|
||||
rightButtons: rightButtons,
|
||||
leftButtons: [
|
||||
|
||||
Reference in New Issue
Block a user