Skip to content

Commit

Permalink
Fixed wrong package on activities launch from settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico Iosue committed Mar 2, 2017
1 parent 644ff06 commit 31343c2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions omniNotes/src/foss/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<resources>

<string name="app_name">Omni Notes FOSS</string>
<string name="app_package">it.feio.android.omninotes.foss</string>
<string name="version_postfix">.FOSS</string>

</resources>
4 changes: 2 additions & 2 deletions omniNotes/src/main/res/xml/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@

<Preference
android:title="@string/settings_statistics">
<intent android:targetPackage="it.feio.android.omninotes"
<intent android:targetPackage="@string/app_package"
android:targetClass="it.feio.android.omninotes.StatsActivity"/>
</Preference>

<Preference
android:title="@string/settings_about">
<intent android:targetPackage="it.feio.android.omninotes"
<intent android:targetPackage="@string/app_package"
android:targetClass="it.feio.android.omninotes.AboutActivity"/>
</Preference>

Expand Down
3 changes: 2 additions & 1 deletion omniNotes/src/play/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<resources>

<string name="app_name">Omni Notes</string>
<string name="version_postfix"></string>
<string name="app_package">it.feio.android.omninotes</string>
<string name="version_postfix"/>

</resources>

0 comments on commit 31343c2

Please sign in to comment.