Bladeren bron

Fix scroll issue

Fixes https://github.com/lesspass/lesspass/issues/664
tags/mobile-v9.5.1
Guillaume Vincent 3 jaren geleden
bovenliggende
commit
c2e2b601a9
9 gewijzigde bestanden met toevoegingen van 28 en 26 verwijderingen
  1. +2
    -2
      mobile/ios/LessPass.xcodeproj/project.pbxproj
  2. +1
    -1
      mobile/package.json
  3. +3
    -3
      mobile/src/auth/SignInScreen.js
  4. +3
    -3
      mobile/src/auth/SignUpScreen.js
  5. +12
    -10
      mobile/src/help/HelpScreen.js
  6. +3
    -2
      mobile/src/password/PasswordGeneratorScreen.js
  7. +2
    -2
      mobile/src/settings/SettingsScreen.js
  8. +1
    -2
      mobile/src/ui/Styles.js
  9. +1
    -1
      mobile/src/version.json

+ 2
- 2
mobile/ios/LessPass.xcodeproj/project.pbxproj Bestand weergeven

@@ -355,7 +355,7 @@
); );
INFOPLIST_FILE = LessPass/Info.plist; INFOPLIST_FILE = LessPass/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 9.5.0;
MARKETING_VERSION = 9.5.1;
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"$(inherited)", "$(inherited)",
"-ObjC", "-ObjC",
@@ -384,7 +384,7 @@
DEVELOPMENT_TEAM = 5Y4MF2AT83; DEVELOPMENT_TEAM = 5Y4MF2AT83;
INFOPLIST_FILE = LessPass/Info.plist; INFOPLIST_FILE = LessPass/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 9.5.0;
MARKETING_VERSION = 9.5.1;
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"$(inherited)", "$(inherited)",
"-ObjC", "-ObjC",


+ 1
- 1
mobile/package.json Bestand weergeven

@@ -1,6 +1,6 @@
{ {
"name": "lesspass-mobile", "name": "lesspass-mobile",
"version": "9.5.0",
"version": "9.5.1",
"description": "LessPass mobile application", "description": "LessPass mobile application",
"license": "(MPL-2.0 OR GPL-3.0)", "license": "(MPL-2.0 OR GPL-3.0)",
"author": "Guillaume Vincent <guillaume@oslab.fr>", "author": "Guillaume Vincent <guillaume@oslab.fr>",


+ 3
- 3
mobile/src/auth/SignInScreen.js Bestand weergeven

@@ -3,7 +3,7 @@ import { connect } from "react-redux";
import { isEmpty } from "lodash"; import { isEmpty } from "lodash";
import { import {
KeyboardAvoidingView, KeyboardAvoidingView,
View,
ScrollView,
Platform, Platform,
TouchableWithoutFeedback, TouchableWithoutFeedback,
Keyboard, Keyboard,
@@ -36,7 +36,7 @@ export class SignInScreen extends Component {
style={Styles.container} style={Styles.container}
> >
<TouchableWithoutFeedback onPress={Keyboard.dismiss}> <TouchableWithoutFeedback onPress={Keyboard.dismiss}>
<View style={Styles.innerContainer}>
<ScrollView contentContainerStyle={Styles.innerContainer}>
<Title>Connect to Lesspass Database</Title> <Title>Connect to Lesspass Database</Title>
<TextInput <TextInput
mode="outlined" mode="outlined"
@@ -90,7 +90,7 @@ export class SignInScreen extends Component {
> >
Sign Up Sign Up
</Button> </Button>
</View>
</ScrollView>
</TouchableWithoutFeedback> </TouchableWithoutFeedback>
</KeyboardAvoidingView> </KeyboardAvoidingView>
); );


+ 3
- 3
mobile/src/auth/SignUpScreen.js Bestand weergeven

@@ -2,7 +2,7 @@ import React, { Component } from "react";
import { connect } from "react-redux"; import { connect } from "react-redux";
import { import {
KeyboardAvoidingView, KeyboardAvoidingView,
View,
ScrollView,
Platform, Platform,
TouchableWithoutFeedback, TouchableWithoutFeedback,
Keyboard, Keyboard,
@@ -37,7 +37,7 @@ export class SignUpScreen extends Component {
style={Styles.container} style={Styles.container}
> >
<TouchableWithoutFeedback onPress={Keyboard.dismiss}> <TouchableWithoutFeedback onPress={Keyboard.dismiss}>
<View style={Styles.innerContainer}>
<ScrollView contentContainerStyle={Styles.innerContainer}>
<Title style={Styles.title}>Create an account</Title> <Title style={Styles.title}>Create an account</Title>
<TextInput <TextInput
mode="outlined" mode="outlined"
@@ -87,7 +87,7 @@ export class SignUpScreen extends Component {
> >
Sign In Sign In
</Button> </Button>
</View>
</ScrollView>
</TouchableWithoutFeedback> </TouchableWithoutFeedback>
</KeyboardAvoidingView> </KeyboardAvoidingView>
); );


+ 12
- 10
mobile/src/help/HelpScreen.js Bestand weergeven

@@ -1,11 +1,11 @@
import React from "react"; import React from "react";
import { ScrollView, Image, Linking } from "react-native";
import { ScrollView, Image, Linking, View } from "react-native";
import { Title, Subheading, Paragraph, Button } from "react-native-paper"; import { Title, Subheading, Paragraph, Button } from "react-native-paper";
import Styles from "../ui/Styles"; import Styles from "../ui/Styles";


export default function HelpScreen() { export default function HelpScreen() {
return ( return (
<ScrollView style={Styles.innerContainer}>
<ScrollView contentContainerStyle={Styles.innerContainer}>
<Title style={Styles.title}>Help</Title> <Title style={Styles.title}>Help</Title>
<Subheading>How does it work?</Subheading> <Subheading>How does it work?</Subheading>
<Paragraph style={{ marginBottom: 20 }}> <Paragraph style={{ marginBottom: 20 }}>
@@ -26,13 +26,16 @@ export default function HelpScreen() {
series of displayed emoticons). series of displayed emoticons).
</Paragraph> </Paragraph>
<Subheading>Options</Subheading> <Subheading>Options</Subheading>
<Image
source={require("./options.png")}
style={{
width: 360,
height: 102,
}}
/>
<View>
<Image
source={require("./options.png")}
style={{
width: null,
resizeMode: "contain",
height: 100,
}}
/>
</View>
<Paragraph style={{ marginBottom: 20 }}> <Paragraph style={{ marginBottom: 20 }}>
Sometimes sites have specific password rules. For instance, some banks Sometimes sites have specific password rules. For instance, some banks
only accept passwords made of digits. LessPass lets you set parameters only accept passwords made of digits. LessPass lets you set parameters
@@ -77,7 +80,6 @@ export default function HelpScreen() {
}} }}
style={{ style={{
marginTop: 10, marginTop: 10,
marginBottom: 60,
}} }}
> >
send us an email send us an email


+ 3
- 2
mobile/src/password/PasswordGeneratorScreen.js Bestand weergeven

@@ -1,5 +1,6 @@
import React, { useEffect, useState } from "react"; import React, { useEffect, useState } from "react";
import { import {
ScrollView,
View, View,
TouchableWithoutFeedback, TouchableWithoutFeedback,
KeyboardAvoidingView, KeyboardAvoidingView,
@@ -92,7 +93,7 @@ export default function PasswordGeneratorScreen() {
style={Styles.container} style={Styles.container}
> >
<TouchableWithoutFeedback onPress={Keyboard.dismiss}> <TouchableWithoutFeedback onPress={Keyboard.dismiss}>
<View style={Styles.innerContainer}>
<ScrollView contentContainerStyle={Styles.innerContainer}>
<TextInput <TextInput
mode="outlined" mode="outlined"
label="Site" label="Site"
@@ -260,7 +261,7 @@ export default function PasswordGeneratorScreen() {
</Text> </Text>
</View> </View>
)} )}
</View>
</ScrollView>
</TouchableWithoutFeedback> </TouchableWithoutFeedback>
<Snackbar <Snackbar
visible={copied} visible={copied}


+ 2
- 2
mobile/src/settings/SettingsScreen.js Bestand weergeven

@@ -45,8 +45,8 @@ export class SettingsScreen extends Component {
defaultCounter, defaultCounter,
} = settings; } = settings;
return ( return (
<ScrollView style={Styles.container}>
<View style={Styles.innerContainer}>
<ScrollView>
<View style={{ padding: 15 }}>
<Title>Settings</Title> <Title>Settings</Title>
</View> </View>
<List.Section title="LESSPASS DATABASE"> <List.Section title="LESSPASS DATABASE">


+ 1
- 2
mobile/src/ui/Styles.js Bestand weergeven

@@ -7,8 +7,7 @@ export default StyleSheet.create({
innerContainer: { innerContainer: {
paddingHorizontal: 15, paddingHorizontal: 15,
paddingTop: 15, paddingTop: 15,
marginBottom: 20,
flex: 1,
paddingBottom: 20,
}, },
title: { title: {
marginBottom: 10, marginBottom: 10,


+ 1
- 1
mobile/src/version.json Bestand weergeven

@@ -1,3 +1,3 @@
{ {
"version": "9.5.0"
"version": "9.5.1"
} }

Laden…
Annuleren
Opslaan