Adjust colors, increase image DPI, add logo to menu bottom
This commit is contained in:
@@ -129,7 +129,7 @@ export default class Calc extends Component {
|
||||
onPress={() => {
|
||||
Alert.alert(
|
||||
'No Solution Exists',
|
||||
'This app recommends resistors to be added in parallel. It\'s impossible to increase resistance (to make it closer to the target) by adding another resistor in parallel.\n\nPlease remove the lowest value resistor if you wish to keep solving.',
|
||||
'This app recommends resistors to be added in parallel. It\'s impossible to increase resistance (to make it closer to the target) by adding another resistor in parallel.\n\nPlease remove the resistor and find a higher one if you wish to keep solving.',
|
||||
[{text: 'OK'}]
|
||||
);
|
||||
}}
|
||||
|
@@ -9,7 +9,7 @@ const styles = {
|
||||
flex: 1,
|
||||
},
|
||||
menutable: {
|
||||
borderBottomColor: 'lightgrey',
|
||||
borderBottomColor: '#96b885',
|
||||
borderBottomWidth: 1,
|
||||
padding: 15,
|
||||
fontSize: 16,
|
||||
@@ -33,6 +33,7 @@ export default class Menu extends Component {
|
||||
<MyText style={styles.menutable} onPress={null}>Tips</MyText>
|
||||
<MyText style={[styles.menutable, {borderBottomWidth: 0}]} onPress={null}>About</MyText>
|
||||
</ScrollView>
|
||||
<Image style={{alignSelf: 'flex-end', height: 20, width: 116}} source={require('../images/menulogobottom.png')} resizeMode={'contain'} />
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
@@ -58,7 +58,7 @@ class Resistor extends Component {
|
||||
value={data.value || ''}
|
||||
onChangeText={(x) => updatevalue(x)}
|
||||
style={Object.assign({}, styles.resistorinput, {
|
||||
borderColor: data.valid ? 'grey' : 'red',
|
||||
borderColor: data.valid ? '#3f7d20' : 'red',
|
||||
})}
|
||||
underlineColorAndroid={'transparent'}
|
||||
autoCorrect={false}
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 184 KiB After Width: | Height: | Size: 329 KiB |
BIN
src/images/menulogobottom.png
Normal file
BIN
src/images/menulogobottom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user