summaryrefslogtreecommitdiff
path: root/src/client/app/mobile
diff options
context:
space:
mode:
authorSatsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>2019-05-05 09:27:55 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-05-05 09:27:55 +0900
commit5fb0a995dd2d9cf65ed93fca78502f42a7c3e22d (patch)
treeba41be9daaf91435ff4429667a6bbcbe094a39c5 /src/client/app/mobile
parentログアウトの処理と外部サービス連携Viewがセッションク... (diff)
downloadsharkey-5fb0a995dd2d9cf65ed93fca78502f42a7c3e22d.tar.gz
sharkey-5fb0a995dd2d9cf65ed93fca78502f42a7c3e22d.tar.bz2
sharkey-5fb0a995dd2d9cf65ed93fca78502f42a7c3e22d.zip
様々な修正 (#4859)
Typo, Redundant code, Syntax error の修正
Diffstat (limited to 'src/client/app/mobile')
-rw-r--r--src/client/app/mobile/views/components/drive.vue15
-rw-r--r--src/client/app/mobile/views/components/notes.vue2
-rw-r--r--src/client/app/mobile/views/components/notifications.vue2
-rw-r--r--src/client/app/mobile/views/components/post-form.vue4
-rw-r--r--src/client/app/mobile/views/components/ui.header.vue2
5 files changed, 15 insertions, 10 deletions
diff --git a/src/client/app/mobile/views/components/drive.vue b/src/client/app/mobile/views/components/drive.vue
index b79c0b3806..2613cfff99 100644
--- a/src/client/app/mobile/views/components/drive.vue
+++ b/src/client/app/mobile/views/components/drive.vue
@@ -83,7 +83,7 @@ export default Vue.extend({
hierarchyFolders: [],
selectedFiles: [],
info: null,
- connection: null
+ connection: null,
fetching: true,
fetchingMoreFiles: false,
@@ -385,7 +385,7 @@ export default Vue.extend({
createFolder() {
this.$root.dialog({
- title: this.$t('folder-name')
+ title: this.$t('folder-name'),
input: {
default: this.folder.name
}
@@ -415,7 +415,7 @@ export default Vue.extend({
return;
}
this.$root.dialog({
- title: this.$t('folder-name')
+ title: this.$t('folder-name'),
input: {
default: this.folder.name
}
@@ -597,12 +597,17 @@ export default Vue.extend({
bottom 0
animation-delay -1.0s
- @keyframes sk-rotate { 100% { transform: rotate(360deg); }}
+ @keyframes sk-rotate {
+ 100% {
+ transform: rotate(360deg);
+ }
+ }
@keyframes sk-bounce {
0%, 100% {
transform: scale(0.0);
- } 50% {
+ }
+ 50% {
transform: scale(1.0);
}
}
diff --git a/src/client/app/mobile/views/components/notes.vue b/src/client/app/mobile/views/components/notes.vue
index 5ad80c286d..047c4c2714 100644
--- a/src/client/app/mobile/views/components/notes.vue
+++ b/src/client/app/mobile/views/components/notes.vue
@@ -174,7 +174,7 @@ export default Vue.extend({
this.releaseQueue();
}
- if (this.$store.state.settings.fetchOnScroll !== false) {
+ if (this.$store.state.settings.fetchOnScroll) {
// 親要素が display none だったら弾く
// https://github.com/syuilo/misskey/issues/1569
// http://d.hatena.ne.jp/favril/20091105/1257403319
diff --git a/src/client/app/mobile/views/components/notifications.vue b/src/client/app/mobile/views/components/notifications.vue
index b129ad54aa..a0edab65ec 100644
--- a/src/client/app/mobile/views/components/notifications.vue
+++ b/src/client/app/mobile/views/components/notifications.vue
@@ -115,7 +115,7 @@ export default Vue.extend({
},
onScroll() {
- if (this.$store.state.settings.fetchOnScroll !== false) {
+ if (this.$store.state.settings.fetchOnScroll) {
// 親要素が display none だったら弾く
// https://github.com/syuilo/misskey/issues/1569
// http://d.hatena.ne.jp/favril/20091105/1257403319
diff --git a/src/client/app/mobile/views/components/post-form.vue b/src/client/app/mobile/views/components/post-form.vue
index 82cbdcc547..326ff57c1f 100644
--- a/src/client/app/mobile/views/components/post-form.vue
+++ b/src/client/app/mobile/views/components/post-form.vue
@@ -295,7 +295,7 @@ export default Vue.extend({
}, err => {
this.$root.dialog({
type: 'error',
- title: this.$t('error')
+ title: this.$t('error'),
text: err.message
});
}, {
@@ -341,7 +341,7 @@ export default Vue.extend({
post() {
this.posting = true;
- const viaMobile = this.$store.state.settings.disableViaMobile !== true;
+ const viaMobile = !this.$store.state.settings.disableViaMobile;
this.$root.api('notes/create', {
text: this.text == '' ? undefined : this.text,
fileIds: this.files.length > 0 ? this.files.map(f => f.id) : undefined,
diff --git a/src/client/app/mobile/views/components/ui.header.vue b/src/client/app/mobile/views/components/ui.header.vue
index 068679567d..b636041d63 100644
--- a/src/client/app/mobile/views/components/ui.header.vue
+++ b/src/client/app/mobile/views/components/ui.header.vue
@@ -49,7 +49,7 @@ export default Vue.extend({
padding 0 8px
&.shadow
- box-shadow 0 0px 8px rgba(0, 0, 0, 0.25)
+ box-shadow 0 0 8px rgba(0, 0, 0, 0.25)
&, *
user-select none