-
Notifications
You must be signed in to change notification settings - Fork 817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add rate button #2036
add rate button #2036
Conversation
@CloudyPadmal Can you review, please |
please show a GIF of how it looks like and the flow |
Nice. Looks good. Can the Rate app be above share app and also capital A for the app word? |
app-fdroid-debug.zip |
app/src/main/res/values/strings.xml
Outdated
@@ -1037,5 +1037,6 @@ | |||
<string name="no_location_specified">Location not specified</string> | |||
<string name="compass_default_0">0</string> | |||
<string name="unknown">Unknown</string> | |||
<string name="rateapp">Rate app</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's be consistent here. capital A for the app. same as Share App
@cweitat Done |
@mariobehling Can you review please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove unrelated formatting changes
@@ -484,21 +490,21 @@ public void onReceive(Context context, Intent intent) { | |||
initialisationDialog.dismiss(); | |||
invalidateOptionsMenu(); | |||
CustomSnackBar.showSnackBar(findViewById(android.R.id.content), | |||
getString(R.string.device_connected_successfully),null,null, Snackbar.LENGTH_SHORT); | |||
getString(R.string.device_connected_successfully), null, null, Snackbar.LENGTH_SHORT); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not related to the commit
if (navItemIndex == 0) { | ||
getSupportFragmentManager().beginTransaction().replace(R.id.frame, InstrumentsFragment.newInstance()).commit(); | ||
} else if (navItemIndex == 1) { | ||
getSupportFragmentManager().beginTransaction().replace(R.id.frame, HomeFragment.newInstance(true, true)).commitAllowingStateLoss(); | ||
} else { | ||
CustomSnackBar.showSnackBar(findViewById(android.R.id.content), | ||
getString(R.string.device_connected_successfully),null,null, Snackbar.LENGTH_SHORT); | ||
getString(R.string.device_connected_successfully), null, null, Snackbar.LENGTH_SHORT); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
} | ||
} | ||
} else { | ||
initialisationDialog.dismiss(); | ||
Log.d(TAG, "permission denied for device " + device); | ||
CustomSnackBar.showSnackBar(findViewById(android.R.id.content), | ||
getString(R.string.device_not_found),null,null, Snackbar.LENGTH_SHORT); | ||
getString(R.string.device_not_found), null, null, Snackbar.LENGTH_SHORT); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
@fcartegnie Done! |
No. You made it worse. |
@fcartegnie I dont really understand, how i can do this? |
@fcartegnie Now these changes are not include |
Learn to squash/fixup commits. |
@@ -1,21 +1,21 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<resources> | |||
<string name="app_name">PSLab</string> | |||
<string name="openDrawer">открыть</string> | |||
<string name="closeDrawer">закрыть</string> | |||
<string name="openDrawer">open_drawer</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did you revert the translations ?
@fcartegnie Sorry for that complications, what do you think now? |
@fcartegnie What about now? |
I can't approve try & fix commits. Make things clean first |
@fcartegnie I squashed my commits, i think its ready to merge, also sorry for problems |
fix for #2035
Changes: I added button in navbar with link to google play
Checklist: [Please tick following check boxes with
[x]
if the respective task is completed]strings.xml
,dimens.xml
andcolors.xml
without hard-coding themstrings.xml
,dimens.xml
orcolors.xml
APK for testing:
app-fdroid-debug.zip