Unverified Commit d6c6ac4a authored by Diego Mello's avatar Diego Mello Committed by GitHub
Browse files

Composer layout tweaked (#464)

* Composer layout tweaked

* Fix localization error

* Bump version to 1.3.2
parent 58974710
import I18n from 'react-native-i18n';
import en from './locales/en';
import ru from './locales/ru';
import pt from './locales/pt-BR';
import ptBR from './locales/pt-BR';
I18n.fallbacks = true;
I18n.defaultLocale = 'en';
I18n.translations = {
en, ru, pt
en, ru, 'pt-BR': ptBR
};
export default I18n;
{
"IcoMoonType": "selection",
"icons": [
{
"icon": {
"paths": [
"M438.857 0v1024h146.286v-1024z",
"M1024 438.857h-1024v146.286h1024z"
],
"attrs": [
{},
{}
],
"isMulticolor": false,
"isMulticolor2": false,
"grid": 0,
"tags": [
"plus"
],
"colorPermutations": {
"47526116572821": [
{},
{}
]
}
},
"attrs": [
{},
{}
],
"properties": {
"order": 28,
"id": 2,
"name": "plus",
"prevSize": 32,
"code": 59648
},
"setIdx": 2,
"setId": 6,
"iconIdx": 0
},
{
"icon": {
"paths": [
"M192 256.3v511.4c0 35.542 28.768 64.3 64.3 64.3h511.4c35.542 0 64.3-28.768 64.3-64.3v-511.4c0-35.542-28.768-64.3-64.3-64.3h-511.4c-35.542 0-64.3 28.768-64.3 64.3zM115.2 256.3c0-77.942 63.136-141.1 141.1-141.1h511.4c77.942 0 141.1 63.136 141.1 141.1v511.4c0 77.942-63.136 141.1-141.1 141.1h-511.4c-77.942 0-141.1-63.136-141.1-141.1v-511.4z",
"M384 499.2c-63.623 0-115.2-51.577-115.2-115.2s51.577-115.2 115.2-115.2c63.623 0 115.2 51.577 115.2 115.2s-51.577 115.2-115.2 115.2zM384 422.4c21.208 0 38.4-17.192 38.4-38.4s-17.192-38.4-38.4-38.4c-21.208 0-38.4 17.192-38.4 38.4s17.192 38.4 38.4 38.4z",
"M362.1 661.315l142.276 97.378 216.661-204.97 119.31 88.168 45.643-61.765-171.023-126.383-218.354 206.571-141.706-96.989-215.826 199.756 52.167 56.364z"
],
"attrs": [
{
"fill": "rgb(29, 116, 245)"
},
{
"fill": "rgb(29, 116, 245)"
},
{
"fill": "rgb(29, 116, 245)"
}
],
"isMulticolor": false,
"isMulticolor2": false,
"grid": 0,
"tags": [
"image--dark"
],
"colorPermutations": {
"2372372371291162451461152331": [
{
"f": 0
},
{
"f": 0
},
{
"f": 0
}
]
}
},
"attrs": [
{
"fill": "rgb(29, 116, 245)"
},
{
"fill": "rgb(29, 116, 245)"
},
{
"fill": "rgb(29, 116, 245)"
}
],
"properties": {
"order": 27,
"id": 7,
"name": "image",
"prevSize": 32,
"code": 59649
},
"setIdx": 3,
"setId": 5,
"iconIdx": 1
},
{
"icon": {
"paths": [
"M536.525 899.948l-24.525 20.355-24.525-20.355c-2.383-1.978-6.519-5.545-12.158-10.619-9.205-8.281-19.41-17.9-30.368-28.777-31.205-30.973-62.381-65.972-91.538-104.393-84.606-111.487-135.811-228.912-135.811-347.961 0-161.866 131.854-292.999 294.4-292.999s294.4 131.133 294.4 292.999c0 119.049-51.205 236.473-135.811 347.961-29.157 38.421-60.333 73.42-91.538 104.393-10.958 10.877-21.164 20.496-30.368 28.777-5.639 5.073-9.775 8.64-12.158 10.619zM524.949 806.045c28.795-28.581 57.619-60.94 84.462-96.312 75.394-99.349 120.189-202.073 120.189-301.534 0-119.356-97.376-216.199-217.6-216.199s-217.6 96.843-217.6 216.199c0 99.46 44.795 202.185 120.189 301.534 26.843 35.372 55.667 67.731 84.462 96.312 4.618 4.584 8.948 8.792 12.949 12.611 4.001-3.819 8.33-8.027 12.949-12.611z",
"M512 550.4c-77.762 0-140.8-63.038-140.8-140.8s63.038-140.8 140.8-140.8c77.762 0 140.8 63.038 140.8 140.8s-63.038 140.8-140.8 140.8zM512 473.6c35.346 0 64-28.654 64-64s-28.654-64-64-64c-35.346 0-64 28.654-64 64s28.654 64 64 64z"
],
"attrs": [
{
"fill": "rgb(29, 116, 245)"
},
{
"fill": "rgb(29, 116, 245)"
}
],
"isMulticolor": false,
"isMulticolor2": false,
"grid": 0,
"tags": [
"locaiton--dark"
],
"colorPermutations": {
"2372372371291162451461152331": [
{
"f": 0
},
{
"f": 0
}
]
}
},
"attrs": [
{
"fill": "rgb(29, 116, 245)"
},
{
"fill": "rgb(29, 116, 245)"
}
],
"properties": {
"order": 26,
"id": 6,
"name": "locaiton",
"prevSize": 32,
"code": 59650
},
"setIdx": 3,
"setId": 5,
"iconIdx": 2
},
{
"icon": {
"paths": [
"M192 396.8v384h435.2v-384h-435.2zM704 320v537.6h-588.8v-537.6h588.8z",
"M704 669.575l179.2 58.183v-226.793l-179.2 58.183v110.427zM860.987 427.431c51.738-16.799 99.013 17.465 99.013 71.914v230.034c0 54.383-47.285 88.709-99.013 71.914l-233.787-75.907v-222.049l233.787-75.907z",
"M243.2 243.2h332.8v-76.8h-332.8z"
],
"attrs": [
{
"fill": "rgb(29, 116, 245)"
},
{
"fill": "rgb(29, 116, 245)"
},
{
"fill": "rgb(29, 116, 245)"
}
],
"isMulticolor": false,
"isMulticolor2": false,
"grid": 0,
"tags": [
"video--dark"
],
"colorPermutations": {
"2372372371291162451461152331": [
{
"f": 0
},
{
"f": 0
},
{
"f": 0
}
]
}
},
"attrs": [
{
"fill": "rgb(29, 116, 245)"
},
{
"fill": "rgb(29, 116, 245)"
},
{
"fill": "rgb(29, 116, 245)"
}
],
"properties": {
"order": 25,
"id": 5,
"name": "video",
"prevSize": 32,
"code": 59652
},
"setIdx": 3,
"setId": 5,
"iconIdx": 3
},
{
"icon": {
"paths": [
"M512 179.2c-56.554 0-102.4 45.846-102.4 102.4v153.6c0 56.554 45.846 102.4 102.4 102.4s102.4-45.846 102.4-102.4v-153.6c0-56.554-45.846-102.4-102.4-102.4zM512 102.4c98.969-0 179.2 80.231 179.2 179.2v153.6c0 98.969-80.231 179.2-179.2 179.2s-179.2-80.231-179.2-179.2v-153.6c0-98.969 80.231-179.2 179.2-179.2z",
"M473.6 716.8v153.6h76.8v-153.6z",
"M358.4 870.4h307.2v51.2h-307.2v-51.2z",
"M217.603 410.070c2.746 224.36 103.388 345.13 294.397 345.13s291.651-120.77 294.397-345.13l-76.794-0.94c-2.268 185.24-72.292 269.27-217.603 269.27s-215.335-84.030-217.603-269.27l-76.794 0.94z"
],
"attrs": [
{
"fill": "rgb(29, 116, 245)"
},
{
"fill": "rgb(29, 116, 245)"
},
{
"fill": "rgb(29, 116, 245)"
},
{
"fill": "rgb(29, 116, 245)"
}
],
"isMulticolor": false,
"isMulticolor2": false,
"grid": 0,
"tags": [
"volume--dark"
],
"colorPermutations": {
"2372372371291162451461152331": [
{
"f": 0
},
{
"f": 0
},
{
"f": 0
},
{
"f": 0
}
]
}
},
"attrs": [
{
"fill": "rgb(29, 116, 245)"
},
{
"fill": "rgb(29, 116, 245)"
},
{
"fill": "rgb(29, 116, 245)"
},
{
"fill": "rgb(29, 116, 245)"
}
],
"properties": {
"order": 24,
"id": 4,
"name": "audio",
"prevSize": 32,
"code": 59653
},
"setIdx": 3,
"setId": 5,
"iconIdx": 4
},
{
"icon": {
"paths": [
"M4.676 67.568c-7.948-17.050-4.542-38.646 10.218-53.423 13.625-13.64 34.062-18.186 53.363-10.23l1080.886 463.755c17.031 7.957 28.385 26.143 28.385 44.33 1.135 19.323-11.354 36.373-28.385 44.33l-1080.886 463.755c-19.302 7.957-39.738 3.41-53.363-10.23-14.76-14.777-19.302-35.236-10.218-53.423l196.421-444.432-196.421-444.432zM1007.221 512l-864.028-371.686 148.735 335.313 238.431 2.273c26.114-1.137 47.686 20.46 47.686 47.74 1.135 26.143-20.437 47.74-47.686 47.74h-249.785l-137.382 310.307 864.028-371.686z"
],
"attrs": [
{
"fill": "rgb(46, 115, 233)"
}
],
"width": 1178,
"isMulticolor": false,
"isMulticolor2": false,
"grid": 0,
"tags": [
"teste"
],
"colorPermutations": {
"2372372371291162451461152331": [
{
"f": 1
}
]
}
},
"attrs": [
{
"fill": "rgb(46, 115, 233)"
}
],
"properties": {
"order": 15,
"id": 0,
"name": "send",
"prevSize": 32,
"code": 59651
},
"setIdx": 3,
"setId": 5,
"iconIdx": 8
}
],
"height": 1024,
"metadata": {
"name": "icomoon"
},
"preferences": {
"showGlyphs": true,
"showQuickUse": true,
"showQuickUse2": true,
"showSVGs": true,
"fontPref": {
"prefix": "icon-",
"metadata": {
"fontFamily": "icomoon",
"majorVersion": 1,
"minorVersion": 0
},
"metrics": {
"emSize": 1024,
"baseline": 6.25,
"whitespace": 50
},
"embed": false,
"autoHost": false,
"noie8": false,
"ie7": true,
"showSelector": false,
"showMetrics": false,
"showMetadata": false,
"showVersion": false
},
"imagePref": {
"prefix": "icon-",
"png": true,
"useClassSelector": true,
"color": 0,
"bgColor": 16777215,
"classSelector": ".icon"
},
"historySize": 50,
"showCodes": false,
"gridSize": 16,
"quickUsageToken": {
"UntitledProject": "NTdjODdjYjc0ZDI5MGY2MWFiYjIxMjg0ZmJlZTE1OTgjMSMxNTEyMTU3MDcxIyMj"
},
"showLiga": false
}
}
......@@ -128,9 +128,6 @@ export default class SettingsView extends LoggedView {
} catch (e) {
this.setState({ saving: false });
setTimeout(() => {
if (e && e.error) {
return showErrorAlert(I18n.t(e.error, e.details));
}
showErrorAlert(I18n.t('There_was_an_error_while_action', { action: I18n.t('saving_preferences') }));
log('saveUserPreferences', e);
}, 300);
......
{
"images" : [
{
"idiom" : "universal",
"filename" : "composer_mic@1x.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "composer_mic@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "composer_mic@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
{
"images" : [
{
"idiom" : "universal",
"filename" : "composer_plus@1x.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "composer_plus@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "composer_plus@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
{
"images" : [
{
"idiom" : "universal",
"filename" : "composer_send@1x.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "composer_send@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "composer_send@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
......@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.3.1</string>
<string>1.3.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment