リファクタ等
This commit is contained in:
@@ -69,6 +69,7 @@ import { noteVisibilities } from '../../types';
|
||||
import * as os from '@/os';
|
||||
import { selectFile } from '@/scripts/select-file';
|
||||
import { notePostInterruptors, postFormActions } from '@/store';
|
||||
import { isMobile } from '@/scripts/is-mobile';
|
||||
|
||||
export default defineComponent({
|
||||
components: {
|
||||
@@ -554,7 +555,7 @@ export default defineComponent({
|
||||
localOnly: this.localOnly,
|
||||
visibility: this.visibility,
|
||||
visibleUserIds: this.visibility == 'specified' ? this.visibleUsers.map(u => u.id) : undefined,
|
||||
viaMobile: os.isMobile
|
||||
viaMobile: isMobile
|
||||
};
|
||||
|
||||
// plugin
|
||||
|
Reference in New Issue
Block a user