diff --git a/apps/picsa-apps/extension-app-native/android/app/build.gradle b/apps/picsa-apps/extension-app-native/android/app/build.gradle index b530fd41..4321bd0a 100644 --- a/apps/picsa-apps/extension-app-native/android/app/build.gradle +++ b/apps/picsa-apps/extension-app-native/android/app/build.gradle @@ -7,8 +7,8 @@ android { applicationId "io.picsa.extension" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 3046000 - versionName "3.46.0" + versionCode 3046001 + versionName "3.46.1" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" aaptOptions { // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps. diff --git a/apps/picsa-tools/farmer-content/src/app/pages/module-home/components/footer/module-footer.component.html b/apps/picsa-tools/farmer-content/src/app/pages/module-home/components/footer/module-footer.component.html index 8d6283bd..19017bbb 100644 --- a/apps/picsa-tools/farmer-content/src/app/pages/module-home/components/footer/module-footer.component.html +++ b/apps/picsa-tools/farmer-content/src/app/pages/module-home/components/footer/module-footer.component.html @@ -3,14 +3,26 @@ {{ 'Home' | translate }} diff --git a/apps/picsa-tools/farmer-content/src/app/pages/module-home/module-home.component.scss b/apps/picsa-tools/farmer-content/src/app/pages/module-home/module-home.component.scss index 4e75d36c..5a62b00a 100644 --- a/apps/picsa-tools/farmer-content/src/app/pages/module-home/module-home.component.scss +++ b/apps/picsa-tools/farmer-content/src/app/pages/module-home/module-home.component.scss @@ -1,11 +1,8 @@ :host { - --footer-height: 36px; + --footer-height: 48px; // Adjust farmer tabs to compensate for header and increased footer size @screen sm { - --footer-height: 48px; - } - @screen md { - --footer-height: 60px; + --footer-height: 64px; } } .content-container { diff --git a/libs/environments/src/version.ts b/libs/environments/src/version.ts index c4797dfd..52232c3e 100644 --- a/libs/environments/src/version.ts +++ b/libs/environments/src/version.ts @@ -4,5 +4,5 @@ import packageJson from '../../../package.json'; export const APP_VERSION = { number: packageJson.version, - date: '2024-10-01', + date: '2024-10-04', }; diff --git a/libs/shared/src/services/core/db_v2/db-sync.service.ts b/libs/shared/src/services/core/db_v2/db-sync.service.ts index e5f02cb8..64593673 100644 --- a/libs/shared/src/services/core/db_v2/db-sync.service.ts +++ b/libs/shared/src/services/core/db_v2/db-sync.service.ts @@ -32,9 +32,7 @@ export class PicsaDatabaseSyncService { /** Track local document deletions in separate collection to sync to server */ private syncDeleteCollection: RxCollection; - constructor(private supabaseService: SupabaseService) { - this.subscribeToNetworkChanges(); - } + constructor(private supabaseService: SupabaseService) {} /** * Register database for sync service to interact with @@ -44,6 +42,8 @@ export class PicsaDatabaseSyncService { this.db = db; const { sync_delete } = await this.db.addCollections({ sync_delete: SYNC_DELETE_COLLECTION }); this.syncDeleteCollection = sync_delete; + // once db is registered subscribe to network changes to manage syncing + this.subscribeToNetworkChanges(); } /** Register a given collection to have records pushed to supabase db */ diff --git a/package.json b/package.json index 280e5ad0..623d759a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "picsa-apps", - "version": "3.46.0", + "version": "3.46.1", "license": "See LICENSE", "scripts": { "ng": "nx",