File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
ui-integration/src/main/java/io/snabble/sdk/ui/integration Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 11# Changelog
22All notable changes to this project will be documented in this file.
33
4+ ## [ 0.40.1]
5+
6+ ### Fixed
7+ - Fixed SelfScanningFragment being out of sync with SelfScanningView
8+
49## [ 0.40.0]
510
611### Breaking Changes
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ allprojects {
3131 }
3232
3333 project. ext {
34- sdkVersion= ' 0.40.0 '
34+ sdkVersion= ' 0.40.1 '
3535 versionCode= 1
3636
3737 compileSdkVersion= 30
Original file line number Diff line number Diff line change @@ -43,8 +43,13 @@ open class SelfScanningFragment : Fragment() {
4343 override fun onViewCreated (view : View , savedInstanceState : Bundle ? ) {
4444 super .onViewCreated(view, savedInstanceState)
4545 rootView = view as ViewGroup
46+ _selfScanningView = null
4647 permissionContainer = rootView.findViewById(R .id.permission_denied_container)
4748 askForPermission = rootView.findViewById(R .id.open_settings)
49+
50+ if (isPermissionGranted) {
51+ createSelfScanningView()
52+ }
4853 }
4954
5055 override fun onStart () {
You can’t perform that action at this time.
0 commit comments