Skip to content

Commit

Permalink
Adding toast to property configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
thyeggman committed Nov 19, 2018
1 parent f8429ee commit 27b1514
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import android.widget.ArrayAdapter;
import android.widget.EditText;
import android.widget.Spinner;
import android.widget.Toast;

import com.microsoft.appcenter.analytics.AnalyticsTransmissionTarget;
import com.microsoft.appcenter.analytics.PropertyConfigurator;
Expand Down Expand Up @@ -125,5 +126,6 @@ public void saveProperty(View view) {
}
break;
}
Toast.makeText(this, R.string.property_saved, Toast.LENGTH_SHORT).show();
}
}
2 changes: 2 additions & 0 deletions apps/sasquatch/src/main/res/values/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@
<string name="log_url_set_to_production" tools:ignore="MissingTranslation">Log URL currently set to the production.</string>
<string name="log_url_production" tools:ignore="MissingTranslation">production</string>

<string name="property_saved" tools:ignore="MissingTranslation">Property saved</string>

<string name="save" tools:ignore="MissingTranslation">Save</string>
<string name="reset" tools:ignore="MissingTranslation">Reset</string>
<string name="cancel" tools:ignore="MissingTranslation">Cancel</string>
Expand Down

0 comments on commit 27b1514

Please sign in to comment.