mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
disable carousel looping
This commit is contained in:
parent
75519d036d
commit
cbfc236807
@ -94,18 +94,18 @@ android {
|
|||||||
|
|
||||||
compileSdkVersion rootProject.ext.compileSdkVersion
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace "com.databag"
|
namespace "com.databag"
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.databag"
|
applicationId "com.databag"
|
||||||
minSdkVersion rootProject.ext.minSdkVersion
|
minSdkVersion rootProject.ext.minSdkVersion
|
||||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||||
versionCode 1
|
versionCode 1015
|
||||||
versionName "1.0"
|
versionName "1.5"
|
||||||
}
|
}
|
||||||
|
|
||||||
splits {
|
splits {
|
||||||
@ -117,12 +117,12 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
debug {
|
release {
|
||||||
storeFile file('debug.keystore')
|
storeFile file('balzack.keystore')
|
||||||
storePassword 'android'
|
storePassword 'balzack'
|
||||||
keyAlias 'androiddebugkey'
|
keyAlias 'balzack'
|
||||||
keyPassword 'android'
|
keyPassword 'balzack'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
debug {
|
debug {
|
||||||
@ -131,7 +131,7 @@ android {
|
|||||||
release {
|
release {
|
||||||
// Caution! In production, you need to generate your own keystore file.
|
// Caution! In production, you need to generate your own keystore file.
|
||||||
// see https://reactnative.dev/docs/signed-apk-android.
|
// see https://reactnative.dev/docs/signed-apk-android.
|
||||||
signingConfig signingConfigs.debug
|
signingConfig signingConfigs.release
|
||||||
minifyEnabled enableProguardInReleaseBuilds
|
minifyEnabled enableProguardInReleaseBuilds
|
||||||
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
||||||
}
|
}
|
||||||
@ -158,6 +158,7 @@ dependencies {
|
|||||||
// The version of react-native is set by the React Native Gradle Plugin
|
// The version of react-native is set by the React Native Gradle Plugin
|
||||||
implementation("com.facebook.react:react-android")
|
implementation("com.facebook.react:react-android")
|
||||||
|
|
||||||
|
|
||||||
implementation 'androidx.core:core:1.8.0'
|
implementation 'androidx.core:core:1.8.0'
|
||||||
|
|
||||||
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.0.0")
|
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.0.0")
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
"moment": "^2.29.4",
|
"moment": "^2.29.4",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-native": "0.71.3",
|
"react-native": "0.71.3",
|
||||||
|
"react-native-awesome-gallery": "^0.3.5",
|
||||||
"react-native-base64": "^0.2.1",
|
"react-native-base64": "^0.2.1",
|
||||||
"react-native-create-thumbnail": "^1.6.4",
|
"react-native-create-thumbnail": "^1.6.4",
|
||||||
"react-native-device-info": "^10.4.0",
|
"react-native-device-info": "^10.4.0",
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
{
|
{
|
||||||
"name": "src",
|
"name": "src"
|
||||||
"dependencies": {
|
|
||||||
"react-native-awesome-gallery": "^0.3.5",
|
|
||||||
"react-native-fs": "^2.20.0"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -216,7 +216,7 @@ export function TopicItem({ item, focused, focus, hosting, remove, update, block
|
|||||||
<SafeAreaView style={styles.modal} edges={['top','bottom','left','right']}>
|
<SafeAreaView style={styles.modal} edges={['top','bottom','left','right']}>
|
||||||
<GestureHandlerRootView>
|
<GestureHandlerRootView>
|
||||||
<Carousel
|
<Carousel
|
||||||
loop
|
loop={false}
|
||||||
width={state.width}
|
width={state.width}
|
||||||
autoPlay={false}
|
autoPlay={false}
|
||||||
data={state.assets}
|
data={state.assets}
|
||||||
|
5023
app/mobile/yarn.lock
5023
app/mobile/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user