Skip to content

Conversation

@CloudyPadmal
Copy link
Collaborator

@CloudyPadmal CloudyPadmal commented Aug 3, 2018

Fixes #1283

Changes:

  • Made changes to view UI inside sensors even if PSLab device is not connected.

Screenshot/s for the changes:

Not available

Checklist: [Please tick following check boxes with [x] if the respective task is completed]

  • I have used resources from strings.xml, dimens.xml and colors.xml without hard-coding them
  • No modifications done at the end of resource files strings.xml, dimens.xml or colors.xml
  • I have reformatted code in every file included in this PR [CTRL+ALT+L]
  • My code does not contain any extra lines or extra spaces
  • I have requested reviews from other members

APK for testing:
sensors.apk.zip

@CloudyPadmal CloudyPadmal self-assigned this Aug 3, 2018
@CloudyPadmal CloudyPadmal added the Status: Review Required Requested reviews from peers and maintainers label Aug 3, 2018
@Override
public void onClick(View v) {
if (play) {
if (play & scienceLab.isConnected()) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CloudyPadmal Is there a specific reason to use single & operator and not && , I think && should be better.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh yes! I'll make the changes! 👍

@CloudyPadmal CloudyPadmal force-pushed the senavail branch 3 times, most recently from 09da99c to 437a0ac Compare August 7, 2018 00:42
@cweitat
Copy link
Contributor

cweitat commented Aug 7, 2018

@CloudyPadmal there's some codacy issues.

@CloudyPadmal
Copy link
Collaborator Author

Now Codacy build is passing!

@cweitat cweitat self-requested a review August 8, 2018 04:53
@cweitat cweitat merged commit 341d919 into fossasia:development Aug 8, 2018
@CloudyPadmal CloudyPadmal deleted the senavail branch September 30, 2018 23:05
@CloudyPadmal CloudyPadmal removed the Status: Review Required Requested reviews from peers and maintainers label Dec 13, 2018
neel1998 pushed a commit to neel1998/pslab-android that referenced this pull request Jul 30, 2019
fix: sensor views shown without PSLab device
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants