Skip to content

Commit

Permalink
fix(mobile): app crash when there is no object detection result on se…
Browse files Browse the repository at this point in the history
…arch page (#725)

* fix(mobile): app crash when there is no data for object detection

* Up version for release

* Up version for release
  • Loading branch information
alextran1502 authored Sep 19, 2022
1 parent 242f109 commit 1023916
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions mobile/android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ platform :android do
task: 'bundle',
build_type: 'Release',
properties: {
"android.injected.version.code" => 43,
"android.injected.version.name" => "1.29.1",
"android.injected.version.code" => 44,
"android.injected.version.name" => "1.29.4",
}
)
upload_to_play_store(skip_upload_apk: true, skip_upload_images: true, skip_upload_screenshots: true, aab: '../build/app/outputs/bundle/release/app-release.aab')
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Fixed app crashes when there is no object detection result.
6 changes: 3 additions & 3 deletions mobile/android/fastlane/report.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@



<testcase classname="fastlane.lanes" name="0: default_platform" time="0.00023">
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.00043">

</testcase>


<testcase classname="fastlane.lanes" name="1: bundleRelease" time="58.722434">
<testcase classname="fastlane.lanes" name="1: bundleRelease" time="71.114285">

</testcase>


<testcase classname="fastlane.lanes" name="2: upload_to_play_store" time="36.768014">
<testcase classname="fastlane.lanes" name="2: upload_to_play_store" time="36.949677">

</testcase>

Expand Down
2 changes: 1 addition & 1 deletion mobile/ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ platform :ios do
desc "iOS Beta"
lane :beta do
increment_version_number(
version_number: "1.29.1"
version_number: "1.29.4"
)
increment_build_number(
build_number: latest_testflight_build_number + 1,
Expand Down
9 changes: 4 additions & 5 deletions mobile/lib/modules/search/views/search_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ class SearchPage extends HookConsumerWidget {

_buildThings() {
return curatedObjects.when(
loading: () => const SizedBox(
height: 200,
child: Center(child: ImmichLoadingIndicator()),
loading: () => SizedBox(
height: imageSize,
child: const Center(child: ImmichLoadingIndicator()),
),
error: (err, stack) => Text('Error: $err'),
data: (objects) {
Expand Down Expand Up @@ -133,8 +133,7 @@ class SearchPage extends HookConsumerWidget {
),
)
: SizedBox(
// height: imageSize,
width: imageSize,
height: imageSize,
child: ListView.builder(
padding: const EdgeInsets.only(left: 16),
scrollDirection: Axis.horizontal,
Expand Down
2 changes: 1 addition & 1 deletion mobile/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: immich_mobile
description: Immich - selfhosted backup media file on mobile phone

publish_to: "none"
version: 1.29.1+43
version: 1.29.4+44

environment:
sdk: ">=2.17.0 <3.0.0"
Expand Down
4 changes: 2 additions & 2 deletions server/apps/immich/src/constants/server_version.constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ export interface IServerVersion {
export const serverVersion: IServerVersion = {
major: 1,
minor: 29,
patch: 2,
build: 43,
patch: 4,
build: 44,
};

0 comments on commit 1023916

Please sign in to comment.