Add notifications on missing functionality
This commit is contained in:
parent
038287ba4c
commit
9862fda9e5
@ -214,7 +214,13 @@ class _ChannelViewPageState extends State<ChannelViewPage> {
|
||||
Navi.push(context, () => ChannelMessageViewPage(channel: channel));
|
||||
},
|
||||
),
|
||||
if (channel.ownerUserID == userAccUserID) UI.button(text: "Delete Channel", onPressed: () {/*TODO*/}, color: Colors.red[900]),
|
||||
if (channel.ownerUserID == userAccUserID)
|
||||
UI.button(
|
||||
text: "Delete Channel",
|
||||
onPressed: () {
|
||||
Toaster.info("Not Implemented", "... will be implemented in a later version"); // TODO
|
||||
},
|
||||
color: Colors.red[900]),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
@ -210,7 +210,13 @@ class _MessageViewPageState extends State<MessageViewPage> {
|
||||
values: [_prettyPrintPriority(message.priority)],
|
||||
mainAction: () => Navi.push(context, () => FilteredMessageViewPage(title: "Priority ${message.priority}", filter: MessageFilter(priority: [message.priority]))),
|
||||
),
|
||||
if (message.senderUserID == userAccUserID) UI.button(text: "Delete Message", onPressed: () {/*TODO*/}, color: Colors.red[900]),
|
||||
if (message.senderUserID == userAccUserID)
|
||||
UI.button(
|
||||
text: "Delete Message",
|
||||
onPressed: () {
|
||||
Toaster.info("Not Implemented", "... will be implemented in a later version"); // TODO
|
||||
},
|
||||
color: Colors.red[900]),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
@ -220,7 +220,9 @@ class _SettingsRootPageState extends State<SettingsRootPage> {
|
||||
leading: Icon(FontAwesomeIcons.solidWaveform),
|
||||
title: Text('Notification Sound'),
|
||||
value: Text(ncf.sound ?? '(Default)'),
|
||||
onPressed: (context) => {/*TODO*/},
|
||||
onPressed: (context) => {
|
||||
Toaster.info("Not Implemented", "... will be implemented in a later version") // TODO
|
||||
},
|
||||
),
|
||||
SettingsTile.switchTile(
|
||||
initialValue: ncf.playSound,
|
||||
@ -238,7 +240,9 @@ class _SettingsRootPageState extends State<SettingsRootPage> {
|
||||
leading: Icon(FontAwesomeIcons.solidStopwatch20),
|
||||
title: Text('Auto Timeout'),
|
||||
value: Text((ncf.timeoutAfter != null) ? "${ncf.timeoutAfter} sec" : "(None)"),
|
||||
onPressed: (context) => {/*TODO*/},
|
||||
onPressed: (context) => {
|
||||
Toaster.info("Not Implemented", "... will be implemented in a later version") // TODO
|
||||
},
|
||||
),
|
||||
];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user