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 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")

View File

@ -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",

View File

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

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']}> <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}

File diff suppressed because it is too large Load Diff