-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use download manager, fix task details, change bottom nav,
pretty buttons
- Loading branch information
niwla23
committed
Apr 28, 2021
1 parent
1959e24
commit 7057018
Showing
14 changed files
with
426 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,4 +34,4 @@ allprojects { | |
jcenter() | ||
maven { url 'https://www.jitpack.io' } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#Wed Mar 31 12:20:49 CEST 2021 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -119,6 +119,12 @@ | |
"licenseUrl": "https://github.com/kmagiera/react-native-screens/raw/master/LICENSE", | ||
"parents": "SchulHack" | ||
}, | ||
"[email protected]": { | ||
"licenses": "MIT", | ||
"repository": "https://github.com/master-atul/react-native-download-manager", | ||
"licenseUrl": "https://github.com/master-atul/react-native-download-manager/raw/master/LICENSE", | ||
"parents": "SchulHack" | ||
}, | ||
"[email protected]": { | ||
"licenses": "MIT", | ||
"repository": "https://github.com/oblador/react-native-vector-icons", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
'use strict'; | ||
import { Text, StyleSheet, ViewStyle, TextStyle, Pressable } from 'react-native'; | ||
import React from 'react'; | ||
import { useTheme } from '../theme/themeprovider'; | ||
|
||
|
||
const Button = ({onPress, text}) => { | ||
const { colors, isDark } = useTheme(); | ||
|
||
interface Style { | ||
text: TextStyle; | ||
background: ViewStyle | ||
} | ||
const styles = StyleSheet.create<Style>({ | ||
text: { | ||
color: colors.background, | ||
textAlign: "center", | ||
fontWeight: "bold", | ||
letterSpacing: 2, | ||
|
||
}, | ||
background: { | ||
backgroundColor: colors.primary, | ||
padding: 8, | ||
borderRadius: 8 | ||
} | ||
}); | ||
|
||
|
||
return ( | ||
<Pressable style={styles.background} onPress={onPress}> | ||
<Text style={styles.text}> | ||
{text.toUpperCase()} | ||
</Text> | ||
</Pressable> | ||
); | ||
|
||
|
||
}; | ||
|
||
export default Button |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.