Skip to content

Commit

Permalink
error corrections for imports and up version
Browse files Browse the repository at this point in the history
  • Loading branch information
goseind committed Nov 13, 2023
1 parent 76e8286 commit bd368f1
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 20 deletions.
4 changes: 2 additions & 2 deletions kryptolearn/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"expo": {
"name": "Krypto Learn",
"slug": "kryptolearn",
"version": "1.0.1",
"version": "1.0.2",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
Expand All @@ -18,7 +18,7 @@
"supportsTablet": true
},
"android": {
"versionCode": 2,
"versionCode": 3,
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#586576"
Expand Down
35 changes: 18 additions & 17 deletions kryptolearn/screens/crt.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
TextInput,
Text,
ScrollView,
Pressable,
} from 'react-native';
import { crt } from '../algorithms';

Expand All @@ -25,23 +26,23 @@ const ChineseRemainderTheorem = () => {

return (
<SafeAreaView style={styles.container}>
<Text style={styles.description}>
Chinesischer Restsatz als Lösungsverfahren bei gleichzeitiger
Kongruenz. Gib mehrere durch Komma getrennte Module und die
zugehörigen Reste ein, um die unbekannte Summe zu berechnen.
</Text>
<TextInput
style={styles.input}
onChangeText={setM}
placeholder="Nenne die Module m1, m2, .., mn (kommagetrennt)"
keyboardType="numeric"
/>
<TextInput
style={styles.input}
onChangeText={setA}
placeholder="Nenne die Reste a1, a2, .., an (kommagetrennt)"
keyboardType="numeric"
/>
<Text style={styles.description}>
Chinesischer Restsatz als Lösungsverfahren bei gleichzeitiger Kongruenz.
Gib mehrere durch Komma getrennte Module und die zugehörigen Reste ein,
um die unbekannte Summe zu berechnen.
</Text>
<TextInput
style={styles.input}
onChangeText={setM}
placeholder="Nenne die Module m1, m2, .., mn (kommagetrennt)"
keyboardType="numeric"
/>
<TextInput
style={styles.input}
onChangeText={setA}
placeholder="Nenne die Reste a1, a2, .., an (kommagetrennt)"
keyboardType="numeric"
/>

<Pressable style={styles.button} onPress={handleClick}>
<Text style={styles.buttontext}>{'Berechne die Summe'}</Text>
Expand Down
1 change: 1 addition & 0 deletions kryptolearn/screens/euclid.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
TextInput,
Text,
ScrollView,
Pressable,
} from 'react-native';
import { Euclid } from '../algorithms';

Expand Down
1 change: 1 addition & 0 deletions kryptolearn/screens/extendedEuclid.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
TextInput,
Text,
ScrollView,
Pressable,
} from 'react-native';
import { extendedEuclid } from '../algorithms';

Expand Down
1 change: 0 additions & 1 deletion kryptolearn/screens/start.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {
Button,
View,
Text,
SafeAreaView,
Expand Down

0 comments on commit bd368f1

Please sign in to comment.