Skip to content

Commit

Permalink
fix mute button bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bobzilladev committed Oct 23, 2011
1 parent f25c412 commit 7ded488
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .classpath
Expand Up @@ -6,5 +6,5 @@
<classpathentry kind="lib" path="libs/slf4j-android-1.5.8.jar"/>
<classpathentry kind="lib" path="libs/TTS_library_stub.jar"/>
<classpathentry kind="lib" path="libs/osmdroid-android.jar"/>
<classpathentry kind="output" path="bin"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
2 changes: 1 addition & 1 deletion TODO
Expand Up @@ -19,7 +19,6 @@ stats on what is in the local db
"only new" on map work with labels too

download observed networks to phone's db
BUG: mute button comes up on mute when it's not
BUG: org.osmdroid.tileprovider.modules.MapTileFileArchiveProvider cannot be cast
to org.osmdroid.tileprovider.modules.MapTileModuleProviderBase
don't make a wifi scan request if one is in-flight (and recent)
Expand All @@ -34,6 +33,7 @@ Fix error getting lastlocation on some devices
Export whole DB to CSV button
Have OSM use main GPS listener, rather than its own
Setting to not use network locations in-app (now the default)
fix bug: mute button comes up on mute when it's not

* 1.45 (9/23/2011)
Added: Danish, Finnish, Hebrew, Hindi, Japanese, Korean, Norwegian, Portuguese, Chinese
Expand Down
5 changes: 2 additions & 3 deletions src/net/wigle/wigleandroid/ListActivity.java
Expand Up @@ -1112,9 +1112,8 @@ private void setupMuteButton() {
final Button mute = (Button) this.findViewById(R.id.mute);
final SharedPreferences prefs = this.getSharedPreferences(SHARED_PREFS, 0);
final boolean muted = prefs.getBoolean(PREF_MUTED, false);
if ( muted ) {
mute.setText(getString(R.string.mute));
}
mute.setText(getString(muted ? R.string.play : R.string.mute));

mute.setOnClickListener(new OnClickListener(){
public void onClick( final View buttonView ) {
boolean muted = prefs.getBoolean(PREF_MUTED, false);
Expand Down

0 comments on commit 7ded488

Please sign in to comment.