removed debug code from main module

This commit is contained in:
danijoo
2015-12-27 21:31:59 +01:00
parent 91bd187366
commit 7bcfc90b1e
2 changed files with 10 additions and 10 deletions

View File

@@ -147,12 +147,12 @@ public class MainActivity extends AppCompatActivity implements ForecastFragment.
if (id == R.id.action_settings) {
startActivity(new Intent(this, SettingsActivity.class));
return true;
} else if(id == R.id.syncWear) {
// TODO remove
SunshineWearSyncHelper helper = new SunshineWearSyncHelper();
Random rnd = new Random();
helper.updateWear(this, rnd.nextInt(100), rnd.nextInt(100), R.drawable.art_fog);
}
// else if(id == R.id.syncWear) {
// SunshineWearSyncHelper helper = new SunshineWearSyncHelper();
// Random rnd = new Random();
// helper.updateWear(this, rnd.nextInt(100), rnd.nextInt(100), R.drawable.art_fog);
// }
return super.onOptionsItemSelected(item);
}

View File

@@ -21,9 +21,9 @@
android:title="@string/action_settings"
android:orderInCategory="100"
app:showAsAction="never" />
<item android:id="@+id/syncWear"
android:title="Sync wear"
android:orderInCategory="100"
app:showAsAction="never"
/>
<!--<item android:id="@+id/syncWear"-->
<!--android:title="Sync wear"-->
<!--android:orderInCategory="100"-->
<!--app:showAsAction="never"-->
<!--/>-->
</menu>