disable carousel looping

This commit is contained in:
Roland Osborne 2023-06-29 16:01:10 -07:00
parent 75519d036d
commit cbfc236807
5 changed files with 2601 additions and 2458 deletions

View File

@ -94,18 +94,18 @@ android {
compileSdkVersion rootProject.ext.compileSdkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
namespace "com.databag"
defaultConfig {
applicationId "com.databag"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
versionCode 1015
versionName "1.5"
}
splits {
@ -117,12 +117,12 @@ android {
}
}
signingConfigs {
debug {
storeFile file('debug.keystore')
storePassword 'android'
keyAlias 'androiddebugkey'
keyPassword 'android'
}
release {
storeFile file('balzack.keystore')
storePassword 'balzack'
keyAlias 'balzack'
keyPassword 'balzack'
}
}
buildTypes {
debug {
@ -131,7 +131,7 @@ android {
release {
// Caution! In production, you need to generate your own keystore file.
// see https://reactnative.dev/docs/signed-apk-android.
signingConfig signingConfigs.debug
signingConfig signingConfigs.release
minifyEnabled enableProguardInReleaseBuilds
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
implementation("com.facebook.react:react-android")
implementation 'androidx.core:core:1.8.0'
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.0.0")

View File

@ -27,6 +27,7 @@
"moment": "^2.29.4",
"react": "18.2.0",
"react-native": "0.71.3",
"react-native-awesome-gallery": "^0.3.5",
"react-native-base64": "^0.2.1",
"react-native-create-thumbnail": "^1.6.4",
"react-native-device-info": "^10.4.0",

View File

@ -1,7 +1,3 @@
{
"name": "src",
"dependencies": {
"react-native-awesome-gallery": "^0.3.5",
"react-native-fs": "^2.20.0"
}
"name": "src"
}

View File

@ -216,7 +216,7 @@ export function TopicItem({ item, focused, focus, hosting, remove, update, block
<SafeAreaView style={styles.modal} edges={['top','bottom','left','right']}>
<GestureHandlerRootView>
<Carousel
loop
loop={false}
width={state.width}
autoPlay={false}
data={state.assets}

File diff suppressed because it is too large Load Diff